Pheasant\Types\BaseType::__construct PHP Method

__construct() public method

Constructor
public __construct ( $options = null )
    public function __construct($options = null)
    {
        $this->_options = Options::coerce($options);
    }

Usage Example

Beispiel #1
0
 /**
  * Constructor
  */
 public function __construct($length = 10, $scale = 2, $options = null)
 {
     parent::__construct($options);
     $this->_length = intval($length);
     $this->_scale = intval($scale);
 }
All Usage Examples Of Pheasant\Types\BaseType::__construct