Class PhpFile
Instance of PHP file.
Generates:
- opening tag (<?php)
- doc comments
- one or more namespaces
- Nette\PhpGenerator\PhpFile uses Nette\SmartObject, Nette\PhpGenerator\Traits\CommentAware
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
addComment(),
addDocument(),
getComment(),
getDocuments(),
setComment(),
setDocuments()
|