コード例 #1
0
ファイル: Player.php プロジェクト: andrewsalveson/gm
 function __construct($name)
 {
     parent::__construct(['set', ['name', $name]]);
 }
コード例 #2
0
ファイル: Group.php プロジェクト: php-xapi/model
 /**
  * @param InverseFunctionalIdentifier $iri
  * @param string                      $name
  * @param Agent[]                     $members
  */
 public function __construct(InverseFunctionalIdentifier $iri = null, $name = null, array $members = array())
 {
     parent::__construct($iri, $name);
     $this->members = $members;
 }
コード例 #3
0
ファイル: Group.php プロジェクト: xabbuh/xapi-model
 /**
  * @param string  $mbox
  * @param string  $mboxSha1Sum
  * @param string  $openId
  * @param Account $account
  * @param string  $name
  * @param Agent[] $members
  */
 public function __construct($mbox = null, $mboxSha1Sum = null, $openId = null, Account $account = null, $name = null, array $members = array())
 {
     parent::__construct($mbox, $mboxSha1Sum, $openId, $account, $name);
     $this->members = $members;
 }