public function __construct(Config $config, ElggSession $session, ElggCrypto $crypto) { $this->config = $config; $this->session = $session; $this->crypto = $crypto; }