public static function defines($showAll = false)
    {
        if (!self::isDebug()) {
            return false;
        }

        $defines = get_defined_constants(true);
        if (!$showAll) {
            $defines = (isset($defines['user'])) ? $defines['user'] : array();
        }

        return self::i()->dump($defines, '! defines !');
    }
public static function defines($showAll = false)
    {
        if (!self::isDebug()) {
            return false;
        }

        $defines = get_defined_constants(true);
        if (!$showAll) {
            $defines = (isset($defines['user'])) ? $defines['user'] : array();
        }

        return self::i()->dump($defines, '! defines !');
    }
public static function defines ( $ showAll = false ) { if ( ! self :: isDebug ( ) ) { return false ; } $ defines = get_defined_constants ( true ) ; if ( ! $ showAll ) { $ defines = ( isset ( $ defines [ 'user' ] ) ) ? $ defines [ 'user' ] : array ( ) ; } return self :: i ( ) -> dump ( $ defines , '! defines !' ) ; }
Show defined constants
@param bool $showAll Get only user defined functions
@return bool|JBDump
Show defined constants