src/Service.php
public static function getInstance($identifier = self::PRIMARY)
    {
        $serviceClassName = get_called_class();


        return self::findOrCreateInstance($serviceClassName, $identifier);
    }
public static function getInstance($identifier = self::PRIMARY)
    {
        $serviceClassName = get_called_class();


        return self::findOrCreateInstance($serviceClassName, $identifier);
    }
public static function getInstance ( $ identifier = self :: PRIMARY ) { $ serviceClassName = get_called_class ( ) ; return self :: findOrCreateInstance ( $ serviceClassName , $ identifier ) ; }
Returns client instance


@param string|Service|Settings|Closure $identifier
@return static
@throws Service\Exception
fallback instead default
Returns client instance