]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Entity/User.php
New page scheme
[airbundle] / Entity / User.php
index 151f1a10f86662f4c2d9d1724c40bf9a4ad83321..22bf46da496d7298ff95163b1258a6e10567bdd4 100644 (file)
@@ -42,10 +42,12 @@ class User extends BaseUser {
 
        /**
         * Constructor
+        *
+        * @param string $mail The user mail
         */
-       public function __construct() {
+       public function __construct(string $mail) {
                //Call parent constructor
-               parent::__construct();
+               parent::__construct($mail);
 
                //Set collections
                $this->applications = new \Doctrine\Common\Collections\ArrayCollection();