for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Bdf\Form\Util;
use Bdf\Form\ElementInterface;
/**
* Simple implementation of delegated element builder
*
* @psalm-require-implements \Bdf\Form\ElementBuilderInterface
*/
trait DelegateElementBuilderTrait
{
use MagicCallForwarding;
* {@inheritdoc}
final public function satisfy($constraint, $options = null, bool $append = true)
$this->getElementBuilder()->satisfy($constraint, $options, $append);
return $this;
}
final public function transformer($transformer, bool $append = true)
$this->getElementBuilder()->transformer($transformer, $append);
final public function value($value)
$this->getElementBuilder()->value($value);
final public function buildElement(): ElementInterface
return $this->getElementBuilder()->buildElement();