public function init() { parent::init(); if (!is_callable($this->auth)) { throw new InvalidParamException('`auth` property must be callable.'); } }
/** * @inheritdoc */ public function init() { parent::init(); $this->jwt = Instance::ensure($this->jwt, Jwt::className()); }