X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/be52ee36181a7928e7fa699b64ae30872e96c009..ad8124dcef6a76e6b458c44622b6285fa522ac01:/Entity/User.php

diff --git a/Entity/User.php b/Entity/User.php
index cabdde5..4c4ea57 100644
--- a/Entity/User.php
+++ b/Entity/User.php
@@ -23,7 +23,7 @@ class User extends BaseUser {
 	/**
 	 * @var \Doctrine\Common\Collections\Collection
 	 */
-	private Collection $assets;
+	private Collection $elements;
 
 	/**
 	 * Constructor
@@ -45,39 +45,39 @@ class User extends BaseUser {
 		//Set defaults
 
 		//Set collections
-		$this->assets = new ArrayCollection();
+		$this->elements = new ArrayCollection();
 	}
 
 	/**
-	 * Add asset
+	 * Add element
 	 *
-	 * @param Asset $asset
+	 * @param Element $element
 	 *
 	 * @return User
 	 */
-	public function addAsset(Asset $asset): User {
-		$this->assets[] = $asset;
+	public function addElement(Element $element): User {
+		$this->elements[] = $element;
 
 		return $this;
 	}
 
 	/**
-	 * Remove asset
+	 * Remove element
 	 *
-	 * @param Asset $asset
+	 * @param Element $element
 	 *
 	 * @return \Doctrine\Common\Collections\Collection
 	 */
-	public function removeAsset(Asset $asset): Collection {
-		return $this->assets->removeElement($asset);
+	public function removeElement(Element $element): Collection {
+		return $this->elements->removeElement($element);
 	}
 
 	/**
-	 * Get assets
+	 * Get elements
 	 *
 	 * @return \Doctrine\Common\Collections\Collection
 	 */
-	public function getAssets(): Collection {
-		return $this->assets;
+	public function getElements(): Collection {
+		return $this->elements;
 	}
 }