Zippy API
Class

Alchemy\Zippy\Resource\ResourceTeleporter

class ResourceTeleporter

Methods

__construct(TeleporterContainer $container)

Constructor

ResourceTeleporter teleport(String $context, Resource $resource)

Teleports a Resource to its target in the context

static ResourceTeleporter create()

Creates the ResourceTeleporter with the default TeleporterContainer

Details

at line 23
public __construct(TeleporterContainer $container)

Constructor

Parameters

TeleporterContainer $container

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

Teleports a Resource to its target in the context

Parameters

String $context
Resource $resource

Return Value

ResourceTeleporter

at line 51
static public ResourceTeleporter create()

Creates the ResourceTeleporter with the default TeleporterContainer

Return Value

ResourceTeleporter