class Service (View source)

Properties

protected EntityManagerInterface $entityManager
protected Application $app
protected Service $skeletonService
protected Service $groupService
protected Factory $siteTypeFactory
protected Manager $siteTypeControllerManager

Methods

__construct(Application $application, EntityManagerInterface $entityManager, Service $skeletonService, Service $groupService, Factory $siteTypeFactory, Manager $siteTypeControllerManager)

No description

getSkeletonService()

No description

getGroupService()

No description

Type|null
getDefault()

No description

Type|null
getByID(int|mixed $typeID)

No description

Type|null
getByHandle(string|mixed $typeHandle)

No description

array
getByPackage(Package $package)

No description

array
getList()

No description

Collection
getUserAddedList()

No description

void
delete(Type $type)

No description

import(string $handle, string $name, Package|null $pkg = null)

No description

getController(Type $type)

No description

add(string $handle, string $name, Package|null $pkg = null)

No description

installDefault()

No description

createAndPersistType(string $handle, string $name, Package|null $pkg = null)

No description

Details

__construct(Application $application, EntityManagerInterface $entityManager, Service $skeletonService, Service $groupService, Factory $siteTypeFactory, Manager $siteTypeControllerManager)

No description

Parameters

Application $application
EntityManagerInterface $entityManager
Service $skeletonService
Service $groupService
Factory $siteTypeFactory
Manager $siteTypeControllerManager

Service getSkeletonService()

No description

Return Value

Service

Service getGroupService()

No description

Return Value

Service

Type|null getDefault()

No description

Return Value

Type|null

Type|null getByID(int|mixed $typeID)

No description

Parameters

int|mixed $typeID

Return Value

Type|null

Type|null getByHandle(string|mixed $typeHandle)

No description

Parameters

string|mixed $typeHandle

Return Value

Type|null

array getByPackage(Package $package)

No description

Parameters

Package $package

Return Value

array

array getList()

No description

Return Value

array

Collection getUserAddedList()

No description

Return Value

Collection

void delete(Type $type)

No description

Parameters

Type $type

Return Value

void

Type import(string $handle, string $name, Package|null $pkg = null)

No description

Parameters

string $handle
string $name
Package|null $pkg

Return Value

Type

ControllerInterface getController(Type $type)

No description

Parameters

Type $type

Return Value

ControllerInterface

Type add(string $handle, string $name, Package|null $pkg = null)

No description

Parameters

string $handle
string $name
Package|null $pkg

Return Value

Type

Type installDefault()

No description

Return Value

Type

protected Type createAndPersistType(string $handle, string $name, Package|null $pkg = null)

No description

Parameters

string $handle
string $name
Package|null $pkg

Return Value

Type