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