Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Zend_Reflection_Class[] $_classes = 'array'
Detailsstring $_contents = 'null'
Detailsstring $_docComment = 'null'
Detailsint $_endLine = 'null'
Detailsstring $_filepath = 'null'
DetailsZend_Reflection_Function[] $_functions = 'array'
Detailsstring[] $_requiredFiles = 'array'
Detailsint $_startLine = '1'
Details__construct(
string $file
)
:
voidConstructor
Details__toString(
)
:
stringSerialize to string
Required by the Reflector interface
Details_checkFileDocBlock(
array $tokens
)
:
voidValidate / check a file level docblock
Details_reflect(
)
:
voidThis method does the work of "reflecting" the file
Uses PHP's tokenizer to perform file reflection.
Detailsexport(
)
:
nullExport
Required by the Reflector interface.
DetailsfindRealpathInIncludePath(
string $fileName
)
:
stringFind realpath of file based on include_path
DetailsgetClass(
null|string $name
=
null, string $reflectionClass
=
Zend_Reflection_Class
)
:
Zend_Reflection_ClassRetrieve the reflection class of a given class found in this file
DetailsgetClasses(
string $reflectionClass
=
Zend_Reflection_Class
)
:
arrayReturn the reflection classes of the classes found inside this file
DetailsgetContents(
)
:
stringReturn the full contents of file
DetailsgetDocComment(
)
:
stringReturn the doc comment
DetailsgetDocblock(
string $reflectionClass
=
Zend_Reflection_Docblock
)
:
Zend_Reflection_DocblockReturn the docblock
DetailsgetEndLine(
)
:
intGet the end line / number of lines
DetailsgetFileName(
)
:
stringReturn the file name of the reflected file
DetailsgetFunctions(
string $reflectionClass
=
Zend_Reflection_Function
)
:
arrayReturn the reflection functions of the functions found inside this file
DetailsgetStartLine(
)
:
intGet the start line - Always 1, staying consistent with the Reflection API
Details