Elgg\Database\UsersTable::__construct PHP Method

__construct() public method

Constructor
public __construct ( Config $config, Database $db, EntityTable $entities, EntityCache $cache, EventsService $events )
$config Elgg\Config Config
$db Elgg\Database Database
$entities EntityTable Entity table
$cache Elgg\Cache\EntityCache Entity cache
$events Elgg\EventsService Event service
    public function __construct(Conf $config, Database $db, EntityTable $entities, EntityCache $cache, EventsService $events)
    {
        $this->config = $config;
        $this->db = $db;
        $this->table = $this->db->prefix . "users_entity";
        $this->entities = $entities;
        $this->entity_cache = $cache;
        $this->events = $events;
    }