src/Hook/Hook.php
protected function buildClassEventCallback($class, $hook)
    {
        list($class, $method) = $this->parseClassEvent($class, $hook);

        $instance = $this->container->make($class);

        return [$instance, $method];
    }
protected function buildClassEventCallback($class, $hook)
    {
        list($class, $method) = $this->parseClassEvent($class, $hook);

        $instance = $this->container->make($class);

        return [$instance, $method];
    }
protected function buildClassEventCallback ( $ class , $ hook ) { list ( $ class , $ method ) = $ this -> parseClassEvent ( $ class , $ hook ) ; $ instance = $ this -> container -> make ( $ class ) ; return [ $ instance , $ method ] ; }
Build the array in order to call a class method.

@param string $class
@param string $hook

@return array
Build the array in order to call a class method .