sandbox/acme/src/AcmeServiceProvider.php
/**
     * {@inheritdoc}
     *
     * @return mixed return this class itself
     */
@return mixed return this class itself
@return mixed return this class itself
public function register()
    {
        require __DIR__.'/app/routes.php';
        $this->console->add(new AcmeConsoleCommand);
        return $this;
    }
public function register ( ) { require __DIR__ . '/app/routes.php' ; $ this -> console -> add ( new AcmeConsoleCommand ) ; return $ this ; }
{@inheritdoc}
 @return mixed return this class itself
{ @inheritdoc } @return mixed return this class itself
# you can use $this->route to add new route # link a new console command