Usage of InfoManager

This commit is contained in:
Dennis Eichhorn 2016-04-02 17:47:30 +02:00
parent c99d499ea1
commit 017833af26
4 changed files with 3 additions and 14 deletions

View File

@ -35,7 +35,7 @@ class ItemReference
/**
* {@inheritdoc}
*/
public static function install(Pool $dbPool, array $info)
public static function install(Pool $dbPool, InfoManager $info)
{
switch ($dbPool->get('core')->getType()) {

View File

@ -36,7 +36,7 @@ class Installer extends InstallerAbstract
/**
* {@inheritdoc}
*/
public static function install(Pool $dbPool, array $info)
public static function install(Pool $dbPool, InfoManager $info)
{
parent::install($dbPool, $info);

View File

@ -37,7 +37,7 @@ class Uninstall extends UninstallAbstract
/**
* {@inheritdoc}
*/
public static function uninstall(Pool $dbPool, array $info)
public static function uninstall(Pool $dbPool, InfoManager $info)
{
parent::uninstall($dbPool, $info);

View File

@ -19,7 +19,6 @@ use Modules\Navigation\Models\Navigation;
use Modules\Navigation\Views\NavigationView;
use phpOMS\Contract\RenderableInterface;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\RequestDestination;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Module\ModuleAbstract;
use phpOMS\Module\WebInterface;
@ -64,16 +63,6 @@ class Controller extends ModuleAbstract implements WebInterface
*/
const MODULE_NAME = 'Billing';
/**
* Localization files.
*
* @var string
* @since 1.0.0
*/
protected static $localization = [
RequestDestination::BACKEND => [''],
];
/**
* Providing.
*