]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Entity/User.php
Add cities and city location tempaltes
[airbundle] / Entity / User.php
index 1fb9f1ae33588692a5345a441d3b1b22d5bf69d3..189e0ea98795c062d82b41a0874b5a12f344d6b7 100644 (file)
@@ -185,37 +185,6 @@ class User extends BaseUser {
                return $this->applications;
        }
 
-       /**
-        * Add snippet
-        *
-        * @param Snippet $snippet
-        *
-        * @return User
-        */
-       public function addSnippet(Snippet $snippet): User {
-               $this->snippets[] = $snippet;
-
-               return $this;
-       }
-
-       /**
-        * Remove snippet
-        *
-        * @param Snippet $snippet
-        */
-       public function removeSnippet(Snippet $snippet): bool {
-               return $this->snippets->removeElement($snippet);
-       }
-
-       /**
-        * Get snippets
-        *
-        * @return ArrayCollection
-        */
-       public function getSnippets(): ArrayCollection {
-               return $this->snippets;
-       }
-
        /**
         * Add dance
         *
@@ -280,6 +249,37 @@ class User extends BaseUser {
                return $this->locations;
        }
 
+       /**
+        * Add snippet
+        *
+        * @param Snippet $snippet
+        *
+        * @return User
+        */
+       public function addSnippet(Snippet $snippet): User {
+               $this->snippets[] = $snippet;
+
+               return $this;
+       }
+
+       /**
+        * Remove snippet
+        *
+        * @param Snippet $snippet
+        */
+       public function removeSnippet(Snippet $snippet): bool {
+               return $this->snippets->removeElement($snippet);
+       }
+
+       /**
+        * Get snippets
+        *
+        * @return ArrayCollection
+        */
+       public function getSnippets(): ArrayCollection {
+               return $this->snippets;
+       }
+
        /**
         * Add subscriber
         *