private function acceptsSharedManagerToConstructor() { $r = new ReflectionClass(EventManager::class); return !$r->hasMethod('setSharedManager'); }