コード例 #1
0
 public function __construct(array $roles, $name, $callback, $description, $dataType, $rel = null)
 {
     parent::__construct($name, $callback, $description, $dataType, $rel);
     $this->roles = $roles;
 }
コード例 #2
0
 public function __construct(array $roles, $name, $callback, $description, $dataType, $rel = null, $validationParameters = [])
 {
     parent::__construct($name, $callback, $description, $dataType, $rel, $validationParameters);
     $this->roles = $roles;
 }