TippingCanoe\Imager\Processing\Watermark::process PHP Метод

process() публичный Метод

public process ( File $file, Image $image, array $config = null )
$file Symfony\Component\HttpFoundation\File\File
$image TippingCanoe\Imager\Model\Image
$config array
    public function process(File $file, Image $image, array $config = null)
    {
        $imageData = Intervention::make($file->getRealPath());
        $imageData->insert($this->sourcePath, $this->offsetLeft, $this->offsetRight, $this->anchor);
        $imageData->save(null, 100);
    }