コード例 #1
0
ファイル: Classes.php プロジェクト: lanfisis/deflection
 /**
  * Add param to structure
  *
  * @param \Deflection\Element\Functions $function Function
  *
  * @return \Deflection\Element\Classes
  */
 public function addFunction(\Deflection\Element\Functions $function)
 {
     $element = $function->getElement();
     $this->functions = array_merge($this->functions, array(''), $element);
     return $this;
 }