Contao\CoreBundle\Analyzer\HtaccessAnalyzer::__construct PHP Method

__construct() public method

Stores the file object.
public __construct ( SplFileInfo $file )
$file SplFileInfo
    public function __construct(\SplFileInfo $file)
    {
        if (!$file->isFile()) {
            throw new \InvalidArgumentException(sprintf('%s is not a file.', $file));
        }
        $this->file = $file;
    }