src/App.php
public function setServiceMethod(string $method): void
    {
        $this->service && $this->service->setMethod($method);
    }
public function setServiceMethod(string $method): void
    {
        $this->service && $this->service->setMethod($method);
    }
public function setServiceMethod ( string $ method ) : void { $ this -> service && $ this -> service -> setMethod ( $ method ) ; }
Set service method.
@param  string $method
@return void
Set service method .