Exemple #1
0
 /**
  * @param $content
  * @param $blueprint
  * @return array|string
  */
 protected function parse($content, $blueprint)
 {
     $this->currentMethod = new ApistMethod($this, null, $blueprint);
     $this->currentMethod->setContent($content);
     $result = $this->currentMethod->parseBlueprint($blueprint);
     $this->currentMethod = null;
     return $result;
 }