コード例 #1
0
ファイル: ComposeMany.php プロジェクト: rickyrobinett/morph
 /**
  * @param string $name
  * @param string $type
  */
 public function __construct($name, $type)
 {
     $this->type = $type;
     $default = new \morph\property\StatefulCollection($this);
     $default->setPermissableType($type);
     parent::__construct($name, $default);
 }