Zippy API
Class

Alchemy\Zippy\Resource\Teleporter\GuzzleTeleporter

class GuzzleTeleporter extends AbstractTeleporter

Guzzle Teleporter implementation for HTTP resources

Methods

__construct(Client $client)

Constructor

teleport(Resource $resource, String $context)

Teleport a file from a destination to an other

static GuzzleTeleporter create()

Creates the GuzzleTeleporter

Details

at line 32
public __construct(Client $client)

Constructor

Parameters

Client $client

at line 40
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 60
static public GuzzleTeleporter create()

Creates the GuzzleTeleporter

Return Value

GuzzleTeleporter