PHP Trait Youshido\GraphQL\Validator\ErrorContainer\ErrorContainerTrait

Afficher le fichier Open project: youshido/graphql

Protected Properties

Свойство Type Description
$errors Exception[]

Méthodes publiques

Méthode Description
addError ( Exception $exception )
clearErrors ( )
getErrors ( )
getErrorsArray ( $inGraphQLStyle = true )
hasErrors ( )
mergeErrors ( Youshido\GraphQL\Validator\ErrorContainer\ErrorContainerInterface $errorContainer )

Method Details

addError() public méthode

public addError ( Exception $exception )
$exception Exception

clearErrors() public méthode

public clearErrors ( )

getErrors() public méthode

public getErrors ( )

getErrorsArray() public méthode

public getErrorsArray ( $inGraphQLStyle = true )

hasErrors() public méthode

public hasErrors ( )

mergeErrors() public méthode

public mergeErrors ( Youshido\GraphQL\Validator\ErrorContainer\ErrorContainerInterface $errorContainer )
$errorContainer Youshido\GraphQL\Validator\ErrorContainer\ErrorContainerInterface

Property Details

$errors protected_oe property

protected Exception[] $errors
Résultat Exception[]