src/SourceLocator/Type/SingleFileSourceLocator.php
protected function createLocatedSource(Identifier $identifier) : ?LocatedSource
    {
        return new LocatedSource(
            file_get_contents($this->fileName),
            $this->fileName
        );
    }
protected function createLocatedSource(Identifier $identifier) : ?LocatedSource
    {
        return new LocatedSource(
            file_get_contents($this->fileName),
            $this->fileName
        );
    }
{@inheritDoc}

@throws InvalidArgumentException
@throws InvalidFileLocation