src/DataProvider/OperationDataProviderTrait.php
private function getSubresourceData($identifiers, array $attributes, array $context)
    {
        if (null === $this->subresourceDataProvider) {
            throw new RuntimeException('Subresources not supported');
        }

        return $this->subresourceDataProvider->getSubresource($attributes['resource_class'], $identifiers, $attributes['subresource_context'] + $context, $attributes['subresource_operation_name']);
    }
private function getSubresourceData($identifiers, array $attributes, array $context)
    {
        if (null === $this->subresourceDataProvider) {
            throw new RuntimeException('Subresources not supported');
        }

        return $this->subresourceDataProvider->getSubresource($attributes['resource_class'], $identifiers, $attributes['subresource_context'] + $context, $attributes['subresource_operation_name']);
    }
private function getSubresourceData ( $ identifiers , array $ attributes , array $ context ) { if ( null === $ this -> subresourceDataProvider ) { throw new RuntimeException ( 'Subresources not supported' ) ; } return $ this -> subresourceDataProvider -> getSubresource ( $ attributes [ 'resource_class' ] , $ identifiers , $ attributes [ 'subresource_context' ] + $ context , $ attributes [ 'subresource_operation_name' ] ) ; }
Gets data for a nested operation.

@throws RuntimeException

@return array|object|null
Gets data for a nested operation .