__construct() public method

public __construct ( AbstractSchema $schema )
$schema Youshido\GraphQL\Schema\AbstractSchema
示例#1
0
 /**
  * @inheritdoc
  */
 public function __construct(ExecutionContextInterface $executionContext)
 {
     $this->executionContext = $executionContext;
     parent::__construct($executionContext->getSchema());
 }