X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/1b020b02e1d1fa56e737c8c5dbf5d7e5f48d587e..2594a6a5cda379a8d6c173f39bc2c4358600fdf4:/Entity/User.php?ds=sidebyside diff --git a/Entity/User.php b/Entity/User.php index 1fb9f1a..189e0ea 100644 --- a/Entity/User.php +++ b/Entity/User.php @@ -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 *