Helper.php
public static function bindInstance($instance, $methodName, $args = null)
    {
        $helper = new self();
        return $helper->createClosure($methodName, $args)->bindTo($instance, get_class($instance));
    }
public static function bindInstance($instance, $methodName, $args = null)
    {
        $helper = new self();
        return $helper->createClosure($methodName, $args)->bindTo($instance, get_class($instance));
    }
public static function bindInstance ( $ instance , $ methodName , $ args = null ) { $ helper = new self ( ) ; return $ helper -> createClosure ( $ methodName , $ args ) -> bindTo ( $ instance , get_class ( $ instance ) ) ; }
Binds an instance with its method

@param object $instance
@param string $methodName
@param array $args [optional]
@return \Closure
Binds an instance with its method