Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- declare(strict_types=1);
- namespace App\Presenters;
- use App\Forms\SignInFormFactory;
- use App\Model\UserManager;
- use Nette;
- use Nette\Application\UI\Form;
- use stdClass;
- final class AccountPresenter extends Nette\Application\UI\Presenter {
- private UserManager $userManager;
- private SignInFormFactory $signInFactory;
- public function __construct(UserManager $userManager, SignInFormFactory $signInFactory) {
- $this->userManager = $userManager;
- $this->signInFactory = $signInFactory;
- }
- protected function createComponentSignInForm(): Form {
- return $this->signInFactory->create();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment