Zippy API
Class

Alchemy\Zippy\Resource\Teleporter\StreamTeleporter

class StreamTeleporter extends AbstractTeleporter

This class transport an object using php stream wrapper

Methods

teleport(Resource $resource, String $context)

Teleport a file from a destination to an other

static StreamTeleporter create()

Creates the StreamTeleporter

Details

at line 25
public teleport(Resource $resource, String $context)

Teleport a file from a destination to an other

Parameters

Resource $resource A Resource
String $context The current context

at line 57
static public StreamTeleporter create()

Creates the StreamTeleporter

Return Value

StreamTeleporter