public function __construct(array $attrs) { if (isset($attrs['tokenName'])) { $this->tokenName = $attrs['tokenName']; } parent::__construct($attrs); }
public function __construct(array $attrs) { parent::__construct($attrs); $this->permissions = $attrs['permissions']; $this->user = $attrs['user']; }
public function __construct(array $attrs) { $this->url = $attrs['url']; parent::__construct($attrs); }
public function __construct(array $attrs) { parent::__construct($attrs); $this->init($attrs); }