class Service (View source)

Properties

protected $entityManager
protected $app

Methods

__construct(Application $application, EntityManagerInterface $entityManager)

No description

getDefault()

No description

getByID($typeID)

No description

getByHandle($typeHandle)

No description

getByPackage(Package $package)

No description

getList()

No description

delete(Type $type)

No description

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

No description

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

No description

installDefault()

No description

Details

__construct(Application $application, EntityManagerInterface $entityManager)

Parameters

Application $application
EntityManagerInterface $entityManager

getDefault()

getByID($typeID)

Parameters

$typeID

getByHandle($typeHandle)

Parameters

$typeHandle

getByPackage(Package $package)

Parameters

Package $package

getList()

delete(Type $type)

Parameters

Type $type

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

Parameters

$handle
$name
Package $pkg

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

Parameters

$handle
$name
Package $pkg

installDefault()