private function resolveAfterAdvisor($priority) { if (is_array($priority) && isset($priority['after'])) { return $priority['after']; } return null; }