Permalink
Browse files

@Inject -> constructor

  • Loading branch information...
dg committed May 31, 2017
1 parent c2ae25a commit 70a1eb2fc9e5c4958d0c87960cc40d983e954874
Showing with 11 additions and 4 deletions.
  1. +11 −4 app/presenters/SignPresenter.php
@@ -11,11 +11,18 @@
class SignPresenter extends BasePresenter
{
/** @var Forms\SignInFormFactory @inject */
public $signInFactory;
/** @var Forms\SignInFormFactory */
private $signInFactory;
/** @var Forms\SignUpFormFactory @inject */
public $signUpFactory;
/** @var Forms\SignUpFormFactory */
private $signUpFactory;
public function __construct(Forms\SignInFormFactory $signInFactory, Forms\SignUpFormFactory $signUpFactory)
{
$this->signInFactory = $signInFactory;
$this->signUpFactory = $signUpFactory;
}
/**

1 comment on commit 70a1eb2

@TomasVotruba

This comment has been minimized.

Copy link
Member

TomasVotruba commented on 70a1eb2 Jun 7, 2017

👍

Please sign in to comment.