injectableFactory = $injectableFactory; } public function create(): Authentication { return $this->injectableFactory->create(Authentication::class); } public function createWithAnyAccessAllowed(): Authentication { return $this->injectableFactory->createWith(Authentication::class, [ 'allowAnyAccess' => true, ]); } }