1<?php
2
3namespace MatrixPhp;
4
5/**
6 * Cache constants used when instantiating Matrix Client to specify level of caching
7 *
8 *  TODO: rather than having CACHE.NONE as arg to MatrixClient, there should be a separate
9 *      LightweightMatrixClient that only implements global listeners and doesn't hook into
10 *      User, Room, etc. classes at all.
11 * @package MatrixPhp
12 */
13class Cache {
14    const NONE = -1;
15    const SOME = 0;
16    const ALL = 1;
17
18    public static $levels = [
19        self::NONE,
20        self::SOME,
21        self::ALL,
22    ];
23}
24