Copied!

Default {@see PropertyInfoExtractorInterface} implementation.

CloneableInstantiable
Methods
public __construct(iterable $listExtractors = [], iterable $typeExtractors = [], iterable $descriptionExtractors = [], iterable $accessExtractors = [], iterable $initializableExtractors = [])
 
  • param iterable<mixed,\PropertyListExtractorInterface> $listExtractors
  • param iterable<mixed,\PropertyTypeExtractorInterface> $typeExtractors
  • param iterable<mixed,\PropertyDescriptionExtractorInterface> $descriptionExtractors
  • param iterable<mixed,\PropertyAccessExtractorInterface> $accessExtractors
  • param iterable<mixed,\PropertyInitializableExtractorInterface> $initializableExtractors
public getLongDescription(string $class, string $property, array $context = []) : ?string
public getProperties(string $class, array $context = []) : ?array
public getShortDescription(string $class, string $property, array $context = []) : ?string
public getType(string $class, string $property, array $context = []) : ?Symfony\Component\TypeInfo\Type
public getTypes(string $class, string $property, array $context = []) : ?array
public isInitializable(string $class, string $property, array $context = []) : ?bool
public isReadable(string $class, string $property, array $context = []) : ?bool
public isWritable(string $class, string $property, array $context = []) : ?bool
Properties
private readonly iterable $accessExtractors
private readonly iterable $descriptionExtractors
private readonly iterable $initializableExtractors
private readonly iterable $listExtractors
private readonly iterable $typeExtractors
Methods
private extract(iterable $extractors, string $method, array $arguments) : ?mixed
 

Iterates over registered extractors and return the first value found.

  • param iterable<mixed,object> $extractors
  • param list $arguments
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration