protected function configure()
    {
        if (empty(static::COMMAND)) {
            throw new NailsException('static::COMMAND must be defined');
        }

        if (empty(static::ALIAS)) {
            throw new NailsException('static::ALIAS must be defined');
        }

        // --------------------------------------------------------------------------

        $this->setName(static::ALIAS);
        $this->setDescription('Alias to <info>' . static::COMMAND . '</info>');
    }
protected function configure()
    {
        if (empty(static::COMMAND)) {
            throw new NailsException('static::COMMAND must be defined');
        }

        if (empty(static::ALIAS)) {
            throw new NailsException('static::ALIAS must be defined');
        }

        // --------------------------------------------------------------------------

        $this->setName(static::ALIAS);
        $this->setDescription('Alias to <info>' . static::COMMAND . '</info>');
    }
protected function configure ( ) { if ( empty ( static :: COMMAND ) ) { throw new NailsException ( 'static::COMMAND must be defined' ) ; } if ( empty ( static :: ALIAS ) ) { throw new NailsException ( 'static::ALIAS must be defined' ) ; } // -------------------------------------------------------------------------- $ this -> setName ( static :: ALIAS ) ; $ this -> setDescription ( 'Alias to <info>' . static :: COMMAND . '</info>' ) ; }
Configures the app

@throws NailsException
@return void
Configures the app