Event.php
function findListener($listener)
    {
        if (is_string($listener))
            return (isset($this->_c_listeners[$listener])) ? $this->_c_listeners[$listener] : false;
        elseif (is_object($listener)) {
            foreach (clone $this->_listenerQueue() as $l) {
                if ($l === $listener)
                    return $listener;
            }
        }
        
        return false;
    }
function findListener($listener)
    {
        if (is_string($listener))
            return (isset($this->_c_listeners[$listener])) ? $this->_c_listeners[$listener] : false;
        elseif (is_object($listener)) {
            foreach (clone $this->_listenerQueue() as $l) {
                if ($l === $listener)
                    return $listener;
            }
        }
        
        return false;
    }
function findListener ( $ listener ) { if ( is_string ( $ listener ) ) return ( isset ( $ this -> _c_listeners [ $ listener ] ) ) ? $ this -> _c_listeners [ $ listener ] : false ; elseif ( is_object ( $ listener ) ) { foreach ( clone $ this -> _listenerQueue ( ) as $ l ) { if ( $ l === $ listener ) return $ listener ; } } return false ; }
Find For Listener with name or object

@param iListener|string $listener

@throws \InvalidArgumentException
@return iListener|false
Find For Listener with name or object