Added store.entity services and fixed application to use it.
This commit is contained in:
parent
ebf5a5dd7b
commit
a9545e4104
3 changed files with 38 additions and 11 deletions
|
|
@ -62,6 +62,22 @@ if (file_exists($configFile)) {
|
|||
$container['config_file'] = $configFile;
|
||||
}
|
||||
|
||||
$container['store.user'] = $container->factory(function () {
|
||||
return b8\Store\Factory::getStore('User');
|
||||
});
|
||||
|
||||
$container['store.project'] = $container->factory(function () {
|
||||
return b8\Store\Factory::getStore('Project');
|
||||
});
|
||||
|
||||
$container['store.build'] = $container->factory(function () {
|
||||
return b8\Store\Factory::getStore('Build');
|
||||
});
|
||||
|
||||
$container['store.build_meta'] = $container->factory(function () {
|
||||
return b8\Store\Factory::getStore('BuildMeta');
|
||||
});
|
||||
|
||||
/**
|
||||
* Allow to modify PHPCI configuration without modify versioned code.
|
||||
* Dameons should be killed to apply changes in the file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue