/** * @param AccountContactInformation $contact * @param $name * @param $email * @param $message * @param null $subject * @param null $copy */ public function __construct(AccountContactInformation $contact, $name, $email, $message, $subject = null, $copy = null) { $this->contact = $contact; $this->name = $name; $this->email = $email; $this->message = $message; $this->subject = $subject; $this->copy = $copy; parent::__construct(); }
/** * Create a new command instance. * @param $email */ public function __construct($email) { $this->email = $email; parent::__construct(); }
/** * @param User $user */ public function __construct(User $user) { $this->user = $user; parent::__construct(); }
/** * @param MembershipInvitation $invitation */ public function __construct(MembershipInvitation $invitation) { $this->invitation = $invitation; parent::__construct(); }