teleport
teleport copied to clipboard
Abstract Base Package Name
Allows for custom names in extended implementations. If it becomes desirable to include naming logic in the library, this will additionally make it easier to do so. The purpose behind this change is to allow for extensions of different types to choose a different naming scheme based on a development/release path. For instance, for an extra, the site profile is not nearly as important as it is for a site backup or transfer.
Sample Extension:
class ExtractExtra extends Teleport\Action\Extract {
protected function getName() {
// No profile prefix
return $this->tpl['name'];
}
}