Work on making country nullable. Presently the datamapper cant deal with it though...
[rock.divinelegy.git] / Domain / Entities / User.php
index 167404d..e78c8c1 100644 (file)
@@ -18,7 +18,7 @@ class User extends AbstractEntity implements IUser
     private $_quota;\r
     \r
     public function __construct(\r
-        ICountry $country,\r
+        ICountry $country = null,\r
         $displayName,\r
         IName $name,\r
         array $tags,\r
@@ -74,7 +74,7 @@ class User extends AbstractEntity implements IUser
         $this->_displayName = $displayName;\r
     }\r
     \r
-    public function setCountry(ICountry $country)\r
+    public function setCountry(ICountry $country = null)\r
     {\r
         $this->_country = $country;\r
     }\r