ApiPlatform\Core\Metadata\Property\Factory\ExtractorPropertyMetadataFactory::handleNotFound PHP Метод

handleNotFound() приватный Метод

Returns the metadata from the decorated factory if available or throws an exception.
private handleNotFound ( PropertyMetadata $parentPropertyMetadata = null, string $resourceClass, string $property ) : PropertyMetadata
$parentPropertyMetadata ApiPlatform\Core\Metadata\Property\PropertyMetadata
$resourceClass string
$property string
Результат ApiPlatform\Core\Metadata\Property\PropertyMetadata
    private function handleNotFound(PropertyMetadata $parentPropertyMetadata = null, string $resourceClass, string $property) : PropertyMetadata
    {
        if ($parentPropertyMetadata) {
            return $parentPropertyMetadata;
        }
        throw new PropertyNotFoundException(sprintf('Property "%s" of the resource class "%s" not found.', $property, $resourceClass));
    }
ExtractorPropertyMetadataFactory