for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace steevanb\SymfonyFormOptionsBuilder\Behavior;
trait CompoundTrait
{
use OptionAccessorsTrait;
/**
* @param bool $compound
* @return bool
* @link http://symfony.com/doc/current/reference/forms/types/form.html#compound
*/
public function setCompound($compound = true)
return $this->setOption('compound', $compound);
}
* @return bool|string
public function getCompound()
return $this->getOption('compound');
public function removeCompound()
return $this->removeOption('compound');