コード例 #1
0
ファイル: Node.php プロジェクト: jpalala/codex
 /**
  * @param mixed|null              $id
  * @param \Codex\Codex\Menus\Menu $menu
  * @param null                    $value
  * @param array                   $children
  */
 public function __construct($id, Menu $menu, $value = null, array $children = [])
 {
     parent::__construct($value, $children);
     $this->id = $id;
     $this->menu = $menu;
     $this->meta = [];
     $this->attributes = ['href' => '#'];
 }