Hoa central
Public Member Functions | Protected Attributes | List of all members
Hoa\Ruler\Model\Bag\Scalar Class Reference
Inheritance diagram for Hoa\Ruler\Model\Bag\Scalar:

Public Member Functions

 __construct ($value)
 
 getValue ()
 
- Public Member Functions inherited from Hoa\Ruler\Model\Bag\Bag
 accept (Visitor\Visit $visitor, &$handle=null, $eldnah=null)
 
- Public Member Functions inherited from Hoa\Visitor\Element
 accept (Visit $visitor, &$handle=null, $eldnah=null)
 

Protected Attributes

 $_value = null
 

Detailed Description

Class .

Bag for a scalar.

Definition at line 47 of file Scalar.php.

Constructor & Destructor Documentation

Hoa\Ruler\Model\Bag\Scalar::__construct (   $value)

Constructor.

Parameters
string$valueValue.
Returns
void

Definition at line 64 of file Scalar.php.

65  {
66  $this->_value = $value;
67 
68  return;
69  }

Member Function Documentation

Hoa\Ruler\Model\Bag\Scalar::getValue ( )

Get content of the bag.

Returns
mixed

Definition at line 76 of file Scalar.php.

77  {
78  return $this->_value;
79  }

Member Data Documentation

Hoa\Ruler\Model\Bag\Scalar::$_value = null
protected

Definition at line 54 of file Scalar.php.


The documentation for this class was generated from the following file: