public function getReader($name)
    {
        if (!$this->hasReader($name)) {
            throw new \OutOfBoundsException(sprintf('Undefined reader "%s"', $name));
        }

        return $this->readers[$name];
    }
public function getReader($name)
    {
        if (!$this->hasReader($name)) {
            throw new \OutOfBoundsException(sprintf('Undefined reader "%s"', $name));
        }

        return $this->readers[$name];
    }
public function getReader ( $ name ) { if ( ! $ this -> hasReader ( $ name ) ) { throw new \ OutOfBoundsException ( sprintf ( 'Undefined reader "%s"' , $ name ) ) ; } return $ this -> readers [ $ name ] ; }
Get event reader

@param string $name

@return callback
@throws \OutOfBoundsException If no reader with $name exists
Get event reader