PHPExiftool\FileEntity::__construct PHP Method

__construct() public method

Construct a new FileEntity
public __construct ( string $file, DOMDocument $dom, RDFParser $parser ) : FileEntity
$file string
$dom DOMDocument
$parser RDFParser
return FileEntity
    public function __construct($file, \DOMDocument $dom, RDFParser $parser)
    {
        $this->dom = $dom;
        $this->file = $file;
        $this->cache = new ArrayCache();
        $this->parser = $parser->open($dom->saveXML());
        return $this;
    }