public function registerByAccessibility()
    {
        switch ($this->getArgument('accessibility')) {
            case 'unauthorized':
                $this->registerAsUnauthorized();
                break;

            case 'authorized':
                $this->registerAsAuthorized();
                break;

            default:
                $this->registerAsUnauthorized();
                $this->registerAsAuthorized();
                break;
        }
    }
public function registerByAccessibility()
    {
        switch ($this->getArgument('accessibility')) {
            case 'unauthorized':
                $this->registerAsUnauthorized();
                break;

            case 'authorized':
                $this->registerAsAuthorized();
                break;

            default:
                $this->registerAsUnauthorized();
                $this->registerAsAuthorized();
                break;
        }
    }
public function registerByAccessibility ( ) { switch ( $ this -> getArgument ( 'accessibility' ) ) { case 'unauthorized' : $ this -> registerAsUnauthorized ( ) ; break ; case 'authorized' : $ this -> registerAsAuthorized ( ) ; break ; default : $ this -> registerAsUnauthorized ( ) ; $ this -> registerAsAuthorized ( ) ; break ; } }
Register Ajax by accessibility argument.

@return void
Register Ajax by accessibility argument .