PHP Class Neomerx\JsonApi\Encoder\Parser\ParserManager

Inheritance: implements Neomerx\JsonApi\Contracts\Encoder\Parser\ParserManagerInterface, implements Psr\Log\LoggerAwareInterface, use trait Psr\Log\LoggerAwareTrait
ファイルを表示 Open project: neomerx/json-api Class Usage Examples

Protected Properties

Property Type Description
$parameterAnalyzer Neomerx\JsonApi\Contracts\Encoder\Parameters\ParametersAnalyzerInterface

Public Methods

Method Description
__construct ( Neomerx\JsonApi\Contracts\Encoder\Parameters\ParametersAnalyzerInterface $parameterAnalyzer )
getFieldSet ( $type )
getIncludeRelationships ( Neomerx\JsonApi\Contracts\Encoder\Stack\StackReadOnlyInterface $stack )
isRelationshipInFieldSet ( Neomerx\JsonApi\Contracts\Encoder\Stack\StackReadOnlyInterface $stack )
isShouldParseRelationships ( Neomerx\JsonApi\Contracts\Encoder\Stack\StackReadOnlyInterface $stack )

Method Details

__construct() public method

public __construct ( Neomerx\JsonApi\Contracts\Encoder\Parameters\ParametersAnalyzerInterface $parameterAnalyzer )
$parameterAnalyzer Neomerx\JsonApi\Contracts\Encoder\Parameters\ParametersAnalyzerInterface

getFieldSet() public method

public getFieldSet ( $type )

getIncludeRelationships() public method

public getIncludeRelationships ( Neomerx\JsonApi\Contracts\Encoder\Stack\StackReadOnlyInterface $stack )
$stack Neomerx\JsonApi\Contracts\Encoder\Stack\StackReadOnlyInterface

isRelationshipInFieldSet() public method

public isRelationshipInFieldSet ( Neomerx\JsonApi\Contracts\Encoder\Stack\StackReadOnlyInterface $stack )
$stack Neomerx\JsonApi\Contracts\Encoder\Stack\StackReadOnlyInterface

isShouldParseRelationships() public method

public isShouldParseRelationships ( Neomerx\JsonApi\Contracts\Encoder\Stack\StackReadOnlyInterface $stack )
$stack Neomerx\JsonApi\Contracts\Encoder\Stack\StackReadOnlyInterface

Property Details

$parameterAnalyzer protected_oe property

protected ParametersAnalyzerInterface,Neomerx\JsonApi\Contracts\Encoder\Parameters $parameterAnalyzer
return Neomerx\JsonApi\Contracts\Encoder\Parameters\ParametersAnalyzerInterface