src/Viserio/Component/Parser/FileLoader.php
public function load(string $file, array $options = null): array
    {
        $this->checkOption($options);

        $parser = $this->getParser($options);

        // Set the right Parser for data and return data array
        return $parser->parse($this->exists($file));
    }
public function load(string $file, array $options = null): array
    {
        $this->checkOption($options);

        $parser = $this->getParser($options);

        // Set the right Parser for data and return data array
        return $parser->parse($this->exists($file));
    }
{@inheritdoc}