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

Public Member Functions

 __construct ($methodName=null, $types=[], $description=null, $isStatic=false)
 
 getName ()
 
 setIsStatic ($isStatic)
 
 isStatic ()
 
 setMethodName ($methodName)
 
 getMethodName ()
 
 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

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

Member Function Documentation

generate ( )
Returns
string

Implements GeneratorInterface.

getMethodName ( )
Returns
string
getName ( )
Returns
string

Implements PrototypeInterface.

isStatic ( )
Returns
boolean
setIsStatic (   $isStatic)
Parameters
boolean$isStatic
Returns
MethodTag
setMethodName (   $methodName)
Parameters
string$methodName
Returns
MethodTag

Member Data Documentation

$isStatic = false
protected
$methodName = null
protected