X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/d2c71fec4206c2cfe73bc97d6693b5ad0caf428b..d9d15337d88f4ca34c2e419f7782f750540fccb6:/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 *