is_applicable() ) { return $this->get_events(); } return array(); } /** * Is event pack relevant to current runtime * * @return bool */ protected function is_applicable() { return true; } /** * Inherit with internal events compiling and return * * @return array() */ abstract protected function get_events(); }