public function __construct(array $roles, $name, $callback, $description, $dataType, $rel = null) { parent::__construct($name, $callback, $description, $dataType, $rel); $this->roles = $roles; }
public function __construct(array $roles, $name, $callback, $description, $dataType, $rel = null, $validationParameters = []) { parent::__construct($name, $callback, $description, $dataType, $rel, $validationParameters); $this->roles = $roles; }