grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026parameters['type']; } /** * @return string|null */ public function getId() { return isset($this->parameters['id']) ? $this->parameters['id'] : null; } /** * @return array */ public function getAttributes() { return isset($this->parameters['attributes']) ? $this->parameters['attributes'] : []; } /** * @inheritdoc */ protected function configureParameters(OptionsResolver $resolver) { // need to make this more simple $resolver ->setDefined('id') ->setAllowedTypes('id', 'string') ->setAllowedValues('id', $this->validatorFactory->createClosure([ new Assert\NotBlank(), new Assert\Uuid(['strict' => false]), ])); $this->setOptions( $resolver, [ ParamOption\Type::class, ParamOption\Attributes::class, ] ); } }