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