protected function readSchema(): \stdClass
    {
        $schema = $this->getEmptyResult();

        try {
            $schema = $this->getSchema()->read();
        } catch (InvalidArgumentException $e) {
            $this->errors[] = $e->getMessage();

            throw new JsonValidationException("Schema file `{$this->schema->getSchemaPath()}` cannot be read", 0, $e);
        }

        return $schema;
    }
protected function readSchema(): \stdClass
    {
        $schema = $this->getEmptyResult();

        try {
            $schema = $this->getSchema()->read();
        } catch (InvalidArgumentException $e) {
            $this->errors[] = $e->getMessage();

            throw new JsonValidationException("Schema file `{$this->schema->getSchemaPath()}` cannot be read", 0, $e);
        }

        return $schema;
    }
protected function readSchema ( ) : \ stdClass { $ schema = $ this -> getEmptyResult ( ) ; try { $ schema = $ this -> getSchema ( ) -> read ( ) ; } catch ( InvalidArgumentException $ e ) { $ this -> errors [ ] = $ e -> getMessage ( ) ; throw new JsonValidationException ( "Schema file `{$this->schema->getSchemaPath()}` cannot be read" , 0 , $ e ) ; } return $ schema ; }
Reads the schema.

@throws \Qobo\Utils\ModuleConfig\Parser\JsonValidationException When the schema cannot be read.
@return \stdClass Schema
Reads the schema .