Elgg\Database\PrivateSettingsTable::__construct PHP Method

__construct() public method

Constructor
public __construct ( Database $db, EntityTable $entities, PluginSettingsCache $cache )
$db Elgg\Database The database
$entities EntityTable Entities table
$cache Elgg\Cache\PluginSettingsCache Settings cache
    public function __construct(Database $db, EntityTable $entities, PluginSettingsCache $cache)
    {
        $this->db = $db;
        $this->entities = $entities;
        $this->cache = $cache;
        $this->table = $this->db->prefix . 'private_settings';
    }