public function files($files)
{
$this->resetResults();
$this->files = array_merge($this->files, (array) $files);
return $this;
}
/** * @covers PHPExiftool\Reader::resetResults */ public function testResetFilters() { $file = self::$tmpDir . '/test.jpg'; $this->object->files($file)->all(); $file = self::$tmpDir . '/test2.jpg'; $this->object->files($file)->all(); $this->assertEquals(2, count($this->object->all())); }