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

Public Member Functions

 __construct ($variableName=null, $types=[], $description=null)
 
 getName ()
 
 setVariableName ($variableName)
 
 getVariableName ()
 
 setDatatype ($datatype)
 
 getDatatype ()
 
 setParamName ($paramName)
 
 getParamName ()
 
 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)
 

Static Public Member Functions

static fromReflection (ReflectionTagInterface $reflectionTag)
 

Protected Attributes

 $variableName = 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 (   $variableName = null,
  $types = [],
  $description = null 
)
Parameters
string$variableName
array$types
string$description

Member Function Documentation

static fromReflection ( ReflectionTagInterface  $reflectionTag)
static
Parameters
ReflectionTagInterface$reflectionTag
Returns
ReturnTag
Deprecated:
Deprecated in 2.3. Use TagManager::createTagFromReflection() instead
generate ( )
Returns
string

Implements GeneratorInterface.

getDatatype ( )
Returns
string
Deprecated:
Deprecated in 2.3. Use getTypes() or getTypesAsString() instead
getName ( )
Returns
string

Implements PrototypeInterface.

getParamName ( )
Returns
string
Deprecated:
Deprecated in 2.3. Use getVariableName() instead
getVariableName ( )
Returns
string
setDatatype (   $datatype)
Parameters
string$datatype
Returns
ReturnTag
Deprecated:
Deprecated in 2.3. Use setTypes() instead
setParamName (   $paramName)
Parameters
string$paramName
Returns
ParamTag
Deprecated:
Deprecated in 2.3. Use setVariableName() instead
setVariableName (   $variableName)
Parameters
string$variableName
Returns
ParamTag

Member Data Documentation

$variableName = null
protected