|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (FileResolverInterface $fileResolver, TypeReaderComposite $typeReader, $fileName=self::GRAPHQL_SCHEMA_FILE, $defaultScope='global') | |
| read ($scope=null) | |
Data Fields | |
| const | GRAPHQL_PLACEHOLDER_FIELD_NAME = 'placeholder_graphql_field' |
| const | GRAPHQL_SCHEMA_FILE = 'schema.graphqls' |
Reads *.graphqls files from modules and combines the results as array to be used with a library to configure objects
Definition at line 17 of file GraphQlReader.php.
| __construct | ( | FileResolverInterface | $fileResolver, |
| TypeReaderComposite | $typeReader, | ||
$fileName = self::GRAPHQL_SCHEMA_FILE, |
|||
$defaultScope = 'global' |
|||
| ) |
| FileResolverInterface | $fileResolver | |
| TypeReaderComposite | $typeReader | |
| string | $fileName | |
| string | $defaultScope |
Definition at line 51 of file GraphQlReader.php.
| read | ( | $scope = null | ) |
{Read configuration scope
| string | null | $scope |
Compatible with
Implements ReaderInterface.
Definition at line 66 of file GraphQlReader.php.
| const GRAPHQL_PLACEHOLDER_FIELD_NAME = 'placeholder_graphql_field' |
Definition at line 19 of file GraphQlReader.php.
| const GRAPHQL_SCHEMA_FILE = 'schema.graphqls' |
Definition at line 21 of file GraphQlReader.php.