public function getListener()
    {
        if ($this->listener === null && $this->provider !== null) {
            $this->listener = $this->provider;
            $this->provider = null;
        }

        return $this->listener;
    }
public function getListener()
    {
        if ($this->listener === null && $this->provider !== null) {
            $this->listener = $this->provider;
            $this->provider = null;
        }

        return $this->listener;
    }
public function getListener ( ) { if ( $ this -> listener === null && $ this -> provider !== null ) { $ this -> listener = $ this -> provider ; $ this -> provider = null ; } return $ this -> listener ; }
Get the listener.

@return mixed
Get the listener .