src/Arg.php
public static function _describeArg($arg)
    {
        if (is_array($arg)) {
            return sprintf('array[%d]', count($arg));
        }
        if (is_object($arg)) {
            return sprintf('object[%s]', get_class($arg));
        }

        return Text::toString($arg);
    }
public static function _describeArg($arg)
    {
        if (is_array($arg)) {
            return sprintf('array[%d]', count($arg));
        }
        if (is_object($arg)) {
            return sprintf('object[%s]', get_class($arg));
        }

        return Text::toString($arg);
    }
public static function _describeArg ( $ arg ) { if ( is_array ( $ arg ) ) { return sprintf ( 'array[%d]' , count ( $ arg ) ) ; } if ( is_object ( $ arg ) ) { return sprintf ( 'object[%s]' , get_class ( $ arg ) ) ; } return Text :: toString ( $ arg ) ; }
Generate an inline string representation of an argument.

@param mixed $arg The argument.
@return string    The dumped string.
Generate an inline string representation of an argument .