for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Webino (http://webino.sk)
*
* @link https://github.com/webino/WebinoDraw for the canonical source repository
* @copyright Copyright (c) 2012-2017 Webino, s. r. o. (http://webino.sk)
* @author Peter Bačinský <[email protected]>
* @license BSD-3-Clause
*/
namespace WebinoDraw\Event;
use Zend\Form\Form;
use Zend\Form\FormInterface;
* Class DrawFormEvent
class DrawFormEvent extends DrawEvent
{
* @var FormInterface
protected $form;
* @return FormInterface
public function getForm()
if (null === $this->form) {
$this->setForm(new Form);
}
return $this->form;
* @param FormInterface $form
* @return $this
public function setForm(FormInterface $form)
$this->setParam('form', $form);
$this->form = $form;
return $this;