public static function arg($value): string
    {
        switch (gettype($value)) {
            case 'NULL':
                return 'NULL';
            case 'boolean':
                return $value ? 'true' : 'false';
            case 'array':
                return 'Array';
            case 'object':
                return 'Object('.get_class($value).')';
            case 'string':
                return "'".self::cutString((string)$value)."'";
            default:
                return (string)$value;
        }
    }
public static function arg($value): string
    {
        switch (gettype($value)) {
            case 'NULL':
                return 'NULL';
            case 'boolean':
                return $value ? 'true' : 'false';
            case 'array':
                return 'Array';
            case 'object':
                return 'Object('.get_class($value).')';
            case 'string':
                return "'".self::cutString((string)$value)."'";
            default:
                return (string)$value;
        }
    }
public static function arg ( $ value ) : string { switch ( gettype ( $ value ) ) { case 'NULL' : return 'NULL' ; case 'boolean' : return $ value ? 'true' : 'false' ; case 'array' : return 'Array' ; case 'object' : return 'Object(' . get_class ( $ value ) . ')' ; case 'string' : return "'" . self :: cutString ( ( string ) $ value ) . "'" ; default : return ( string ) $ value ; } }
Represents an argument of a method as a string

@param mixed $value
@return string
Represents an argument of a method as a string