Reflection/Docblock.php
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-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Reflection
- Version
- $Id: Docblock.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Reflection_Docblock
Package: Zend\Reflection
Returns
Details
Details
- Implements
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods


__construct(\Reflector | string $commentOrReflector) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$commentOrReflector | \Reflector | string |


__toString() : string
Serialize to string
Required by the Reflector interface
Type | Description |
---|---|
string |
- Todo
- What should this return?


export() : void
static
Export reflection
Reqired by the Reflector interface.
- Todo
- What should this do?


getTag(string $name) : \Zend_Reflection_Docblock_Tag | false
Retrieve the given docblock tag
Parameters
Returns
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
\Zend_Reflection_Docblock_Tag | false |


getTags(string $filter = null) : array
Get all docblock annotation tags
Parameters
Returns
Name | Type | Description |
---|---|---|
$filter | string |
Type | Description |
---|---|
array | Array of Zend_Reflection_Docblock_Tag |