for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Bdf\Form\Attribute\Processor\Element;
use Bdf\Form\Child\ChildBuilderInterface;
use Bdf\Form\PropertyAccess\ExtractorInterface;
/**
* Define the extractor by calling extract()
*
* @see ExtractorInterface
* @see ChildBuilderInterface::extractor()
* @implements ElementAttributeProcessorInterface<ExtractorInterface>
*/
final class ExtractorAttributeProcessor implements ElementAttributeProcessorInterface
{
use SimpleMethodCallGeneratorTrait;
* {@inheritdoc}
public function type(): string
return ExtractorInterface::class;
}
public function process(ChildBuilderInterface $builder, object $attribute): void
$builder->extractor($attribute);
private function methodName(): string
methodName()
This check looks for private methods that have been defined, but are not used inside the class.
return 'extractor';
This check looks for private methods that have been defined, but are not used inside the class.