coerce() 공개 정적인 메소드

Convert either a null, a string or an array into an Option
public static coerce ( $from )
예제 #1
0
파일: BaseType.php 프로젝트: lox/pheasant
 /**
  * Constructor
  */
 public function __construct($options = null)
 {
     $this->_options = Options::coerce($options);
 }