logger = $logger; } public function setManager( AuthManager $manager ) { $this->manager = $manager; } /** * @stable to override * @param Config $config */ public function setConfig( Config $config ) { $this->config = $config; } public function setHookContainer( HookContainer $hookContainer ) { $this->hookContainer = $hookContainer; $this->hookRunner = new HookRunner( $hookContainer ); } /** * @inheritDoc * @note Override this if it makes sense to support more than one instance */ public function getUniqueId() { return static::class; } /** * @since 1.35 * @return HookContainer */ protected function getHookContainer() : HookContainer { return $this->hookContainer; } /** * @internal This is for use by core only. Hook interfaces may be removed * without notice. * @since 1.35 * @return HookRunner */ protected function getHookRunner() : HookRunner { return $this->hookRunner; } }