class AbstractFile implements FileInterface (View source)

Constants

PHP_FILE_EXTENSION

Properties

protected Generator $generator
protected PhpFile $file

Methods

__construct(Generator $generator, string $name)

No description

setGenerator(Generator $generator)

No description

getGenerator()

No description

void
write()

No description

int|bool
writeFile()

No description

string
getFileName()

No description

string
getFileDestination()

No description

string
getFileExtension()

No description

setFile(PhpFile $file)

No description

PhpFile
getFile()

No description

Details

__construct(Generator $generator, string $name)

Parameters

Generator $generator
string $name

AbstractFile setGenerator(Generator $generator)

Parameters

Generator $generator

Return Value

AbstractFile

Generator getGenerator()

Return Value

Generator

void write()

Return Value

void

protected int|bool writeFile()

Return Value

int|bool

string getFileName()

Return Value

string

protected string getFileDestination()

Return Value

string

string getFileExtension()

Return Value

string

protected AbstractFile setFile(PhpFile $file)

Parameters

PhpFile $file

Return Value

AbstractFile

PhpFile getFile()

Return Value

PhpFile