Zippy API
Class

Alchemy\Zippy\Resource\Teleporter\LocalTeleporter

class LocalTeleporter extends AbstractTeleporter

This class transport an object using the local filesystem

Methods

__construct(Filesystem $filesystem)

Constructor

teleport(Resource $resource, String $context)

Teleport a file from a destination to an other

static LocalTeleporter create()

Creates the LocalTeleporter

Details

at line 32
public __construct(Filesystem $filesystem)

Constructor

Parameters

Filesystem $filesystem

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 67
static public LocalTeleporter create()

Creates the LocalTeleporter

Return Value

LocalTeleporter