public function __construct(ShardingService $sharding, $controllerClass) { $this->sharding = $sharding; $this->controllerClass = $controllerClass; }