Пример #1
0
 /**
  * Decode hip data string to an array
  *
  * @throws Hip\Exception
  *
  * @param string			$hip
  * @return array
  */
 public static function decode($hip)
 {
     $lexer = new Lexer($hip);
     $parser = new Parser($lexer->tokens());
     return $parser->parse();
 }