src/Controller.php
public static function parse(string $yasql, string $name = null)
    {
        $parser = new Parser($yasql, $name);
        return $parser->getData();
    }
public static function parse(string $yasql, string $name = null)
    {
        $parser = new Parser($yasql, $name);
        return $parser->getData();
    }
public static function parse ( string $ yasql , string $ name = null ) { $ parser = new Parser ( $ yasql , $ name ) ; return $ parser -> getData ( ) ; }
Parses a YASQL and returns the parsed data

@param string $yasql A string following YAML Ain't SQL specifications
@param string $name   Overwrite database's name

@return array
Parses a YASQL and returns the parsed data