for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Nip\Form\Renderer\Traits;
use Nip\Form\AbstractForm;
use Nip\Form\Renderer\AbstractRenderer;
/**
* Trait HasFormTrait
* @package Nip\Form\Renderer\Traits
*/
trait HasFormTrait
{
protected $form;
* @return AbstractForm
public function getForm()
return $this->form;
}
* @param AbstractForm $form
* @return $this
public function setForm(AbstractForm $form)
$this->form = $form;
return $this;