mantis-matrix-integration – Rev 1

Subversion Repositories:
Rev:
<?php

namespace MatrixPhp;

/**
 * Cache constants used when instantiating Matrix Client to specify level of caching
 *
 *  TODO: rather than having CACHE.NONE as arg to MatrixClient, there should be a separate
 *      LightweightMatrixClient that only implements global listeners and doesn't hook into
 *      User, Room, etc. classes at all.
 * @package MatrixPhp
 */
class Cache {
    const NONE = -1;
    const SOME = 0;
    const ALL = 1;

    public static $levels = [
        self::NONE,
        self::SOME,
        self::ALL,
    ];
}