list<string> $groups :
public function __construct(array $groups) { parent::__construct(sprintf('You need configure all class groups. These groups are missing from your configuration: %s.', implode(', ', $groups))); }