Zippy API
Class

Alchemy\Zippy\Resource\TeleporterContainer

class TeleporterContainer extends Pimple

A container of TeleporterInterface

Methods

TeleporterInterface fromResource(Resource $resource)

Returns the appropriate TeleporterInterface given a Resource

static TeleporterContainer load()

Instantiates TeleporterContainer and register default teleporters

Details

at line 34
public TeleporterInterface fromResource(Resource $resource)

Returns the appropriate TeleporterInterface given a Resource

Parameters

Resource $resource

Return Value

TeleporterInterface

Exceptions

InvalidArgumentException

at line 63
static public TeleporterContainer load()

Instantiates TeleporterContainer and register default teleporters

Return Value

TeleporterContainer