I want to know how much time is executed every action. The easiest/ correct way would be to use AOP.
I'd like to have something like this:
/**
* @FLOW3\Before("method(.*->action.*())")
*/
public function markFirstTimeTag() {
// Do something here.
}
...
/**
* @FLOW3\After("method(.*->action.*())")
*/
public function markSecondTimeTag() {
// Do something here.
}
I read about the FLOW3 and this framework I liked. But this is a full-stack framework itself.
Is there the implementation of AOP pattern for Yii 2?