classes/phing/types/Parameter.php

A parameter is composed of a name, type and value. Nested Parameters are also possible, but the using task/type has to support them

author
Manuel Holtgrewe
author
Yannick Lecaillez
package
phing.types

\Parameter

A parameter is composed of a name, type and value. Nested Parameters are also possible, but the using task/type has to support them

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

Extends from
\DataType
author
Manuel Holtgrewe
author
Yannick Lecaillez
package
phing.types
version
$Revision: 526 $

Properties

Propertyprotected  $name= ''

Parameter name

Details
Type
Propertyprotected  $parameters= 'array'

Nested parameters

Default valuearrayDetails
Type
Propertyprotected  $type= ''

Paramter type

Details
Type
Propertyprotected  $value= ''

Parameter value

Details
Type

Methods

methodpublic  createParam( ) : \Parameter
Returns
Type Description
\Parameter
methodpublic  getName( ) :
methodpublic  getParams( ) : array
Returns
Type Description
array
methodpublic  getType( ) :
methodpublic  getValue( ) :
methodpublic  setListeningValue( \RegisterSlot $value ) :
Sets value to dynamic register slot.
Parameters
Name Type Description
$value \RegisterSlot
methodpublic  setName(  $name ) :
Parameters
Name Type Description
$name
methodpublic  setType(  $type ) :
Parameters
Name Type Description
$type
methodpublic  setValue(  $value ) :
Parameters
Name Type Description
$value
Documentation was generated by DocBlox 0.13.1.