Fakerino\DataSource\File\File::__construct PHP Method

__construct() public method

Constructor
public __construct ( string $path )
$path string
    public function __construct($path)
    {
        if (!file_exists($path)) {
            throw new FileNotFoundException($path);
        }
        parent::__construct($path);
    }