public function setForm($form)
    {
        if (!$form instanceof FormInterface && !$form instanceof Container) {
            throw new \InvalidArgumentException('Form must either implement \Zend\Form\FormInterface or extend from \Core\Form\Container');
        }

        $this->form = $form;

        return $this;
    }