library aop
It is a AOP extension for Symfony2 Dependency Injection Container
thinframe/aop
It is a AOP extension for Symfony2 Dependency Injection Container
- Friday, January 31, 2014
- by unusorin
- Repository
- 2 Watchers
- 0 Stars
- 5 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
ThinFrame AOP
It is a AOP extension for Symfony2 Dependency Injection Container, (*1)
AOP ?
It stands for Aspect-Oriented Programming. Check http://en.wikipedia.org/wiki/Aspect-oriented_programming, (*2)
What does it do ?
Basically, it allows you to add before/after hooks to methods without changing/affecting your existing code., (*3)
How ?
Magic ? Not really ..., (*4)
Install it: composer require thinframe/aop
Update it: composer update
Use it:
- Add the
thinframe.aop
tag to the desired service in di container.
- Use
AopCompilerPass
- Expect for
thinframe.aop.before
and thinframe.aop.after
events.
or just use the AopApplication
, (*5)
Copyright
dev-master
9999999-dev
http://thinframe.net
It is a AOP extension for Symfony2 Dependency Injection Container
Sources
Download
MIT
The Requires
dependency injection
aop
thinframe