get() 공개 메소드

public get ( string $rule ) : array
$rule string
리턴 array
예제 #1
0
파일: Type.php 프로젝트: jbzoo/simpletypes
 /**
  * @param string $rule
  * @return array
  * @throws \JBZoo\SimpleTypes\Exception
  */
 public function getRuleData($rule)
 {
     $rule = $this->_parser->cleanRule($rule);
     return $this->_formatter->get($rule);
 }