https://github.com/vikbert/base-bundle
https://github.com/vikbert/base-bundle
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vikbert/base-bundle
- Owner: vikbert
- Created: 2015-09-18T07:09:14.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-09T13:30:24.000Z (almost 11 years ago)
- Last Synced: 2025-06-24T20:49:08.418Z (12 months ago)
- Language: PHP
- Size: 163 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
base-bundle
==============
[](http://travis-ci.org/asgoodasnu/base-bundle) [](https://packagist.org/packages/asgoodasnu/base-bundle) [](https://packagist.org/packages/asgoodasnu/base-bundle) [](https://insight.sensiolabs.com/projects/8cfd7fe5-edb1-4db0-941c-ff24340364d1)
Installation
------------
Install via composer:
composer.phar require asgoodasnu/base-bundle
Register your bundle in the `AppKernel.php`
public function registerBundles()
{
$bundles = array(
// ...
new Wk\BaseBundle\WkBaseBundle(),
// ...
);
return $bundles;
}
Configuration
-------------
Add persistance service for MongoDB:
services:
wk_base.abstract:
class: Wk\BaseBundle\Services\PersistenceService
abstract: true
arguments: ['@doctrine_mongodb.odm.document_manager']
calls:
- [setLogger, ["@logger"]]