coerce() public static method

Convert either a null, a string or an array into an Option
public static coerce ( $from )
Beispiel #1
0
 /**
  * Constructor
  */
 public function __construct($options = null)
 {
     $this->_options = Options::coerce($options);
 }