src/GraphQL.php
public function prepSchema(): Schema
    {
        if (empty($this->executableSchema)) {
            $this->executableSchema = $this->schemaBuilder->build(
                $this->documentAST()
            );
        }

        return $this->executableSchema;
    }
public function prepSchema(): Schema
    {
        if (empty($this->executableSchema)) {
            $this->executableSchema = $this->schemaBuilder->build(
                $this->documentAST()
            );
        }

        return $this->executableSchema;
    }
public function prepSchema ( ) : Schema { if ( empty ( $ this -> executableSchema ) ) { $ this -> executableSchema = $ this -> schemaBuilder -> build ( $ this -> documentAST ( ) ) ; } return $ this -> executableSchema ; }
Ensure an executable GraphQL schema is present.

@return \GraphQL\Type\Schema
Ensure an executable GraphQL schema is present .