public function getDefinition() : array
    {
        if ($this->definition == null) {
            $data = Mapping::get($this->mapping);
            $this->definition = Config::get($data['config']['schema']);
        }

        return $this->definition;
    }
public function getDefinition() : array
    {
        if ($this->definition == null) {
            $data = Mapping::get($this->mapping);
            $this->definition = Config::get($data['config']['schema']);
        }

        return $this->definition;
    }
public function getDefinition ( ) : array { if ( $ this -> definition == null ) { $ data = Mapping :: get ( $ this -> mapping ) ; $ this -> definition = Config :: get ( $ data [ 'config' ] [ 'schema' ] ) ; } return $ this -> definition ; }
Get the schema definition, from schema configuration file.

@return array<string, array> schema definition
Get the schema definition from schema configuration file .