red-circle / console-process-manager-bundle
Provides a way to logging all console events
Installs: 52
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.0
- sensio/framework-extra-bundle: >=2.1
- symfony/framework-bundle: >=2.3
This package is not auto-updated.
Last update: 2025-02-15 22:15:31 UTC
README
Provides a way to logging all console events
Configuration
Register ConsoleProcessManagerBundle
in your app.
Add RedCircle\ConsoleProcessManagerBundle\ConsoleProcessManagerBundle::enable($application);
in your console file in app directory.
Example of AppKernel.php
file:
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
...
new RedCircle\ConsoleProcessManagerBundle\ConsoleProcessManagerBundle(),
);
return $bundles;
}
}
Troubleshooting
Unknown Entity namespace alias 'ConsoleProcessManagerBundle'.
If you are using entity_managers.default.mappings
, and have bellow issue.
[Doctrine\ORM\ORMException]
Unknown Entity namespace alias 'ConsoleProcessManagerBundle'.
Simply add ConsoleProcessManagerBundle: ~
in your config.yml
file.
entity_managers:
default:
mappings:
...
ConsoleProcessManagerBundle: ~