resolveHandler(); $listener($this, $queue); } /** * @return callable * @throws InvalidConfigException */ private function resolveHandler(): callable { return [Yii::createObject(static::class . 'Handler'), 'handle']; } }