public function setup($event): void
    {
        $this->userRoles = null;
        $this->events->forget('orchestra.auth: roles');
        $this->events->listen('orchestra.auth: roles', $event);
    }
public function setup($event): void
    {
        $this->userRoles = null;
        $this->events->forget('orchestra.auth: roles');
        $this->events->listen('orchestra.auth: roles', $event);
    }
public function setup ( $ event ) : void { $ this -> userRoles = null ; $ this -> events -> forget ( 'orchestra.auth: roles' ) ; $ this -> events -> listen ( 'orchestra.auth: roles' , $ event ) ; }
Setup roles event listener.

@param  \Closure|string  $event

@return void
Setup roles event listener .