Sleimanx2\Plastic\MappingServiceProvider::registerCommands PHP Method

registerCommands() protected method

Register all needed commands.
protected registerCommands ( )
    protected function registerCommands()
    {
        $commands = ['Install', 'Reset', 'Make', 'Run', 'ReRun'];
        foreach ($commands as $command) {
            $this->{'register' . $command . 'Command'}();
        }
        $this->commands(['command.mapping.install', 'command.mapping.reset', 'command.mapping.make', 'command.mapping.run', 'command.mapping.rerun']);
    }