public function getMessages($data)
    {
        foreach ($this->renderers as $renderer) {
            $this->renderers->applyMappingsToRenderer($renderer, $data);
        }

        $messages = array();
        foreach ($this->renderers as $renderer) {
            $messages = array_merge($messages, $renderer->getMessages());
        }

        return $messages;
    }