protected function reflection($handler)
    {
        if (! is_array($handler))
        {
            $instance = new \ReflectionFunction($handler);

            return array($handler, $instance);
        }

        list($class, $method) = (array) $handler;

        $instance = new \ReflectionMethod($class, $method);

        $handler = array($this->instance($class), $method);

        return array((array) $handler, $instance);
    }
protected function reflection($handler)
    {
        if (! is_array($handler))
        {
            $instance = new \ReflectionFunction($handler);

            return array($handler, $instance);
        }

        list($class, $method) = (array) $handler;

        $instance = new \ReflectionMethod($class, $method);

        $handler = array($this->instance($class), $method);

        return array((array) $handler, $instance);
    }
protected function reflection ( $ handler ) { if ( ! is_array ( $ handler ) ) { $ instance = new \ ReflectionFunction ( $ handler ) ; return array ( $ handler , $ instance ) ; } list ( $ class , $ method ) = ( array ) $ handler ; $ instance = new \ ReflectionMethod ( $ class , $ method ) ; $ handler = array ( $ this -> instance ( $ class ) , $ method ) ; return array ( ( array ) $ handler , $ instance ) ; }
Returns a ReflectionFunctionAbstract instance.

@param  array|callable $handler
@return \ReflectionFunctionAbstract
Returns a ReflectionFunctionAbstract instance .