src/Model.php
private static function schemaCache(...$args)
    {
        if (count($args) == 1) {
            $key = array_pop($args);
            if (isset(static::$schema_cache[$key])) {
                return static::$schema_cache[$key];
            }

            return false;
        }

        list($key, $value) = $args;

        static::$schema_cache[$key] = $value;
    }
private static function schemaCache(...$args)
    {
        if (count($args) == 1) {
            $key = array_pop($args);
            if (isset(static::$schema_cache[$key])) {
                return static::$schema_cache[$key];
            }

            return false;
        }

        list($key, $value) = $args;

        static::$schema_cache[$key] = $value;
    }
private static function schemaCache ( ... $ args ) { if ( count ( $ args ) == 1 ) { $ key = array_pop ( $ args ) ; if ( isset ( static :: $ schema_cache [ $ key ] ) ) { return static :: $ schema_cache [ $ key ] ; } return false ; } list ( $ key , $ value ) = $ args ; static :: $ schema_cache [ $ key ] = $ value ; }
Set or get Cache for this key.

@param string $key
@param array  $data

@return void
Set or get Cache for this key .