PHP Class Youshido\GraphQL\Config\AbstractConfig

Afficher le fichier Open project: youshido/graphql Class Usage Examples

Protected Properties

Свойство Type Description
$contextObject
$data array
$extraFieldsAllowed
$finalClass

Méthodes publiques

Méthode Description
__call ( $method, $arguments )
__construct ( array $configData, mixed $contextObject = null, boolean $finalClass = false ) TypeConfig constructor.
get ( $key, null $defaultValue = null ) : mixed | null | callable
getContextObject ( )
getContextRules ( )
getData ( )
getName ( )
getResolveFunction ( ) : null | callable
getRules ( )
getType ( )
has ( $key )
isExtraFieldsAllowed ( )
isFinalClass ( )
set ( $key, $value )
validate ( )

Méthodes protégées

Méthode Description
build ( )

Method Details

__call() public méthode

public __call ( $method, $arguments )

__construct() public méthode

TypeConfig constructor.
public __construct ( array $configData, mixed $contextObject = null, boolean $finalClass = false )
$configData array
$contextObject mixed
$finalClass boolean

build() protected méthode

protected build ( )

get() public méthode

public get ( $key, null $defaultValue = null ) : mixed | null | callable
$key
$defaultValue null
Résultat mixed | null | callable

getContextObject() public méthode

public getContextObject ( )

getContextRules() public méthode

public getContextRules ( )

getData() public méthode

public getData ( )

getName() public méthode

public getName ( )

getResolveFunction() public méthode

public getResolveFunction ( ) : null | callable
Résultat null | callable

getRules() abstract public méthode

abstract public getRules ( )

getType() public méthode

public getType ( )

has() public méthode

public has ( $key )

isExtraFieldsAllowed() public méthode

isFinalClass() public méthode

public isFinalClass ( )

set() public méthode

public set ( $key, $value )

validate() public méthode

public validate ( )

Property Details

$contextObject protected_oe property

protected $contextObject

$data protected_oe property

protected array $data
Résultat array

$extraFieldsAllowed protected_oe property

protected $extraFieldsAllowed

$finalClass protected_oe property

protected $finalClass