UNPKG

@manuth/woltlab-compiler

Version:

A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components

48 lines (47 loc) 1.28 kB
import { InstructionCompiler } from "../../Compilation/PackageSystem/Instructions/InstructionCompiler.js"; import { Instruction } from "./Instruction.js"; import { IPHPInstructionOptions } from "./IPHPInstructionOptions.js"; /** * Represents an instruction which executes an already existing `.php`-file on the server. */ export declare class PHPInstruction extends Instruction { /** * The application to load the php-file from. */ private application; /** * Initializes a new instance of the {@link PHPInstruction `PHPInstruction`} class. * * @param options * The options of the php-instruction. */ constructor(options: IPHPInstructionOptions); /** * @inheritdoc */ get Type(): string; /** * @inheritdoc */ get Compiler(): InstructionCompiler<PHPInstruction>; /** * Gets or sets the application to load the php-file from. */ get Application(): string; /** * @inheritdoc */ set Application(value: string); /** * Gets or sets the name of the file to load the php-script from. */ get FileName(): string; /** * @inheritdoc */ set FileName(value: string); /** * @inheritdoc */ get FullName(): string; }