[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/vendor/zendframework/zend-code/src/Generator/ -> FileGenerator.php (summary)

Zend Framework (http://framework.zend.com/)

Copyright: Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 561 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FileGenerator:: (24 methods):

Class: FileGenerator  - X-Ref

__construct($options = null)   X-Ref
Passes $options to {@link setOptions()}.

param: array|\Traversable $options

fromReflectedFileName($filePath, $includeIfNotAlreadyIncluded = true)   X-Ref
Use this if you intend on generating code generation objects based on the same file.
This will keep previous changes to the file in tact during the same PHP process

param: string $filePath
param: bool $includeIfNotAlreadyIncluded
return: FileGenerator

fromReflection(FileReflection $fileReflection)   X-Ref

param: FileReflection $fileReflection
return: FileGenerator

fromArray(array $values)   X-Ref

param: array $values
return: FileGenerator

setDocBlock($docBlock)   X-Ref

param: DocBlockGenerator|array|string $docBlock
return: FileGenerator

getDocBlock()   X-Ref

return: DocBlockGenerator

setRequiredFiles(array $requiredFiles)   X-Ref

param: array $requiredFiles
return: FileGenerator

getRequiredFiles()   X-Ref

return: array

getNamespace()   X-Ref

return: string

setNamespace($namespace)   X-Ref

param: string $namespace
return: FileGenerator

getUses($withResolvedAs = false)   X-Ref
Returns an array with the first element the use statement, second is the as part.
If $withResolvedAs is set to true, there will be a third element that is the
"resolved" as statement, as the second part is not required in use statements

param: bool $withResolvedAs
return: array

setUses(array $uses)   X-Ref

param: array $uses
return: FileGenerator

setUse($use, $as = null)   X-Ref

param: string $use
param: null|string $as
return: FileGenerator

setClasses(array $classes)   X-Ref

param: array $classes
return: FileGenerator

getClass($name = null)   X-Ref

param: string $name
return: ClassGenerator

setClass($class)   X-Ref

param: array|string|ClassGenerator $class
return: FileGenerator

setFilename($filename)   X-Ref

param: string $filename
return: FileGenerator

getFilename()   X-Ref

return: string

getClasses()   X-Ref

return: ClassGenerator[]

setBody($body)   X-Ref

param: string $body
return: FileGenerator

getBody()   X-Ref

return: string

isSourceDirty()   X-Ref

return: bool

generate()   X-Ref

return: string

write()   X-Ref

return: FileGenerator

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1