PHPExiftool\Test\AbstractWriterTest::setUp PHP Метод

setUp() защищенный Метод

protected setUp ( )
    protected function setUp()
    {
        $this->object = new Writer($this->getExiftool());
        $this->in = __DIR__ . '/../../../files/ExifTool.jpg';
        $this->inWithICC = __DIR__ . '/../../../files/pixelWithIcc.jpg';
        $this->out = __DIR__ . '/../../../files/ExifTool_erased.jpg';
        $this->inPlace = __DIR__ . '/../../../files/ExifToolCopied.jpg';
        copy($this->in, $this->inPlace);
    }

Usage Example

Пример #1
0
 public function setUp()
 {
     $this->markTestSkipped('Currently disable server support');
     $this->exiftool = new ExiftoolServer();
     $this->exiftool->start();
     parent::setUp();
 }