protected function getFromListeners($contentType, $response)
    {

        foreach (['before', 'after'] as $position) {
            foreach ($this->getAfterOrBeforeListeners('handle',
                $position) as $listener) {
                if($result = $listener($contentType, $response, $this)) {
                    return $result;
                }


            }
        }

        return null;
    }