PHP Trait Youshido\GraphQL\Validator\ErrorContainer\ErrorContainerTrait

ファイルを表示 Open project: youshido/graphql

Protected Properties

Property Type Description
$errors Exception[]

Public Methods

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

Method Details

addError() public method

public addError ( Exception $exception )
$exception Exception

clearErrors() public method

public clearErrors ( )

getErrors() public method

public getErrors ( )

getErrorsArray() public method

public getErrorsArray ( $inGraphQLStyle = true )

hasErrors() public method

public hasErrors ( )

mergeErrors() public method

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

Property Details

$errors protected_oe property

protected Exception[] $errors
return Exception[]