コード例 #1
0
 public function __construct($entity = null)
 {
     if (is_null($entity)) {
         $entity = new FoundationMember();
         $entity->setOwner(new Member());
     }
     parent::__construct($entity);
 }
コード例 #2
0
 public function __construct()
 {
     $entity = new FoundationMember();
     $entity->setOwner(new Member());
     parent::__construct($entity);
 }