protected function callIfExists($booter, $method)
    {
        if (method_exists($booter, $method)) {
            $this->container->call([$booter, $method], [$this->container]);
        }
    }
protected function callIfExists($booter, $method)
    {
        if (method_exists($booter, $method)) {
            $this->container->call([$booter, $method], [$this->container]);
        }
    }
protected function callIfExists ( $ booter , $ method ) { if ( method_exists ( $ booter , $ method ) ) { $ this -> container -> call ( [ $ booter , $ method ] , [ $ this -> container ] ) ; } }
Calls the booter method if exists.

@param object $booter
@param string $method
Calls the booter method if exists .