Reflection/Docblock.php

Show: PublicProtectedPrivateinherited
Table of Contents
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 [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Reflection  
Version
$Id$  

\Zend_Reflection_Docblock

Package: Zend_Reflection
Implements
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedstring $_cleanDocComment = null
Default valuenullDetails
Type
string
>VPropertyprotectedstring $_docComment = null
Default valuenullDetails
Type
string
>VPropertyprotected$_endLine = null
Default valuenullDetails
Type
n/a
>VPropertyprotectedstring $_longDescription = null
Default valuenullDetails
Type
string
>VPropertyprotected\Reflector $_reflector = null
Default valuenullDetails
Type
\Reflector
>VPropertyprotectedstring $_shortDescription = null
Default valuenullDetails
Type
string
>VPropertyprotected$_startLine = null
Default valuenullDetails
Type
n/a
>VPropertyprotectedarray $_tags = array()
Default valuearray()Details
Type
array

Methods

methodpublic__construct(\Reflector | string $commentOrReflector) : void

Constructor

Parameters
NameTypeDescription
$commentOrReflector\Reflector | string
methodpublic__toString() : string

Serialize to string

Required by the Reflector interface
Returns
TypeDescription
string
Details
Todo
What should this return?  
methodprotected_parse() : void

Parse the docblock

methodpublicexport() : void
static

Export reflection

Reqired by the Reflector interface.
Details
Todo
What should this do?  
methodpublicgetContents() : string

Retrieve contents of docblock

Returns
TypeDescription
string
methodpublicgetEndLine() : int

Get last line (position) of docblock

Returns
TypeDescription
int
methodpublicgetLongDescription() : string

Get docblock long description

Returns
TypeDescription
string
methodpublicgetShortDescription() : string

Get docblock short description

Returns
TypeDescription
string
methodpublicgetStartLine() : int

Get start line (position) of docblock

Returns
TypeDescription
int
methodpublicgetTag(string $name) : \Zend_Reflection_Docblock_Tag | false

Retrieve the given docblock tag

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
\Zend_Reflection_Docblock_Tag | false
methodpublicgetTags(string $filter = null) : array

Get all docblock annotation tags

Parameters
NameTypeDescription
$filterstring
Returns
TypeDescription
arrayArray of Zend_Reflection_Docblock_Tag
methodpublichasTag(string $name) : bool

Does the docblock contain the given annotation tag?

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
bool
Documentation was generated by phpDocumentor 2.2.0 .