public function exitIfCompiletimeCommandWasNotCalledCorrectly(string $runlevel)
    {
        if ($runlevel === Bootstrap::RUNLEVEL_COMPILETIME) {
            return;
        }
        $command = $this->request->getCommand();
        if ($this->bootstrap->isCompiletimeCommand($command->getCommandIdentifier())) {
            $this->response->appendContent(sprintf(
                "<b>Unrecognized Command</b>\n\n" .
                "Sorry, but the command \"%s\" must be specified by its full command\n" .
                "identifier because it is a compile time command which cannot be resolved\n" .
                "from an abbreviated command identifier.\n\n",
                $command->getCommandIdentifier())
            );
            $this->response->send();
            $this->shutdown($runlevel);
            exit(1);
        }
    }
public function exitIfCompiletimeCommandWasNotCalledCorrectly(string $runlevel)
    {
        if ($runlevel === Bootstrap::RUNLEVEL_COMPILETIME) {
            return;
        }
        $command = $this->request->getCommand();
        if ($this->bootstrap->isCompiletimeCommand($command->getCommandIdentifier())) {
            $this->response->appendContent(sprintf(
                "<b>Unrecognized Command</b>\n\n" .
                "Sorry, but the command \"%s\" must be specified by its full command\n" .
                "identifier because it is a compile time command which cannot be resolved\n" .
                "from an abbreviated command identifier.\n\n",
                $command->getCommandIdentifier())
            );
            $this->response->send();
            $this->shutdown($runlevel);
            exit(1);
        }
    }
public function exitIfCompiletimeCommandWasNotCalledCorrectly ( string $ runlevel ) { if ( $ runlevel === Bootstrap :: RUNLEVEL_COMPILETIME ) { return ; } $ command = $ this -> request -> getCommand ( ) ; if ( $ this -> bootstrap -> isCompiletimeCommand ( $ command -> getCommandIdentifier ( ) ) ) { $ this -> response -> appendContent ( sprintf ( "<b>Unrecognized Command</b>\n\n" . "Sorry, but the command \"%s\" must be specified by its full command\n" . "identifier because it is a compile time command which cannot be resolved\n" . "from an abbreviated command identifier.\n\n" , $ command -> getCommandIdentifier ( ) ) ) ; $ this -> response -> send ( ) ; $ this -> shutdown ( $ runlevel ) ; exit ( 1 ) ; } }
Checks if compile time command was not recognized as such, then runlevel was
booted but it turned out that in fact the command is a compile time command.

This happens if the user doesn't specify the full command identifier.

@param string $runlevel one of the Bootstrap::RUNLEVEL_* constants
@return void
Checks if compile time command was not recognized as such then runlevel was booted but it turned out that in fact the command is a compile time command .