class ImportSiteTypesRoutine extends AbstractRoutine (View source)

Properties

protected $typeService
protected $entityManager

Methods

static Package|null
getPackageObject(string|SimpleXMLElement $pkgHandle)

Get a package entity given its handle.

__construct(EntityManager $entityManager, Service $typeService)

No description

getHandle()

No description

import(SimpleXMLElement $sx)

No description

Details

static protected Package|null getPackageObject(string|SimpleXMLElement $pkgHandle)

Get a package entity given its handle.

Parameters

string|SimpleXMLElement $pkgHandle

the package handle (or an XML attribute/node whose content is the package handle)

Return Value

Package|null

__construct(EntityManager $entityManager, Service $typeService)

No description

Parameters

EntityManager $entityManager
Service $typeService

getHandle()

No description

import(SimpleXMLElement $sx)

No description

Parameters

SimpleXMLElement $sx