public function formatServiceDescription($service, $scalar = true)
    {
        return sprintf(
            $scalar ? self::SCALAR_FORMAT : self::NON_SCALAR_FORMAT,
            gettype($service),
            $scalar ? (string) $service : null
        );
    }