src/Handler/FileHandler.php
public function processVariant(StorableFileInterface $source, TargetInterface $target, $variant, array $options = [])
    {
        $storableVariant = $this->processor->process($source, $variant, $options);

        return $this->storage->store($storableVariant, $target->variant($variant));
    }
public function processVariant(StorableFileInterface $source, TargetInterface $target, $variant, array $options = [])
    {
        $storableVariant = $this->processor->process($source, $variant, $options);

        return $this->storage->store($storableVariant, $target->variant($variant));
    }
public function processVariant ( StorableFileInterface $ source , TargetInterface $ target , $ variant , array $ options = [ ] ) { $ storableVariant = $ this -> processor -> process ( $ source , $ variant , $ options ) ; return $ this -> storage -> store ( $ storableVariant , $ target -> variant ( $ variant ) ) ; }
Processes and stores a single variant for a storable file.

@param StorableFileInterface $source
@param TargetInterface       $target
@param string                $variant
@param array                 $options
@return StoredFileInterface
Processes and stores a single variant for a storable file .