InvalidArgumentException
public static function from(string $path) : self { if (!is_file($path)) { throw new InvalidArgumentException('$path does not exist'); } return new self($path); }