Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
PropertyTag Class Reference

Public Member Functions

 __construct ($propertyName=null, $types=[], $description=null)
 
 getName ()
 
 setPropertyName ($propertyName)
 
 getPropertyName ()
 
 generate ()
 
- Public Member Functions inherited from AbstractTypeableTag
 __construct ($types=[], $description=null)
 
 setDescription ($description)
 
 getDescription ()
 
 setTypes ($types)
 Array of types or string with types delimited by pipe (|) e.g.
 
 getTypes ()
 
 getTypesAsString ($delimiter= '|')
 
- Public Member Functions inherited from AbstractGenerator
 __construct ($options=[])
 
 setSourceDirty ($isSourceDirty=true)
 
 isSourceDirty ()
 
 setIndentation ($indentation)
 
 getIndentation ()
 
 setSourceContent ($sourceContent)
 
 getSourceContent ()
 
 setOptions ($options)
 

Protected Attributes

 $propertyName = null
 
- Protected Attributes inherited from AbstractTypeableTag
 $description = null
 
 $types = []
 
- Protected Attributes inherited from AbstractGenerator
 $isSourceDirty = true
 
 $indentation = ' '
 
 $sourceContent = null
 

Additional Inherited Members

- Public Attributes inherited from AbstractGenerator
const LINE_FEED = "\n"
 Line feed to use in place of EOL.
 

Constructor & Destructor Documentation

__construct (   $propertyName = null,
  $types = [],
  $description = null 
)
Parameters
string$propertyName
array$types
string$description

Member Function Documentation

generate ( )
Returns
string

Implements GeneratorInterface.

getName ( )
Returns
string

Implements PrototypeInterface.

getPropertyName ( )
Returns
string
setPropertyName (   $propertyName)
Parameters
string$propertyName
Returns
self

Member Data Documentation

$propertyName = null
protected