protected function newSubscribableListener($event, $targetEventName)
    {
        return function () use ($targetEventName, $event) {
            $args = func_get_args();
            $targetEventName = $this->buildTargetEventName($event, $targetEventName);
            return $this->target->fire($targetEventName, $args);
        };
    }
protected function newSubscribableListener($event, $targetEventName)
    {
        return function () use ($targetEventName, $event) {
            $args = func_get_args();
            $targetEventName = $this->buildTargetEventName($event, $targetEventName);
            return $this->target->fire($targetEventName, $args);
        };
    }
protected function newSubscribableListener ( $ event , $ targetEventName ) { return function ( ) use ( $ targetEventName , $ event ) { $ args = func_get_args ( ) ; $ targetEventName = $ this -> buildTargetEventName ( $ event , $ targetEventName ) ; return $ this -> target -> fire ( $ targetEventName , $ args ) ; } ; }
Creates a listener for a subscribable object

@param string $event
@param string $targetEventName

@return Closure
Creates a listener for a subscribable object