mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-10-31 09:19:08 +00:00 
			
		
		
		
	Optimized Entities
This commit is contained in:
		| @@ -33,9 +33,4 @@ abstract class AbstractEntity implements EntityInterface | ||||
|     { | ||||
|         $this->version = 0; | ||||
|     } | ||||
|  | ||||
|     public function __toString(): string | ||||
|     { | ||||
|         return __CLASS__.':'.spl_object_hash($this); | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -3,6 +3,8 @@ | ||||
| namespace App\Entity\Attribut; | ||||
|  | ||||
| /** | ||||
|  * @todo Implement a trait for crud which substitute this one. | ||||
|  * | ||||
|  * @author kevinfrantz | ||||
|  */ | ||||
| trait TypeAttribut | ||||
|   | ||||
| @@ -10,10 +10,4 @@ use App\Entity\Attribut\IdAttributInterface; | ||||
|  */ | ||||
| interface EntityInterface extends VersionAttributInterface, IdAttributInterface | ||||
| { | ||||
|     /** | ||||
|      * Allows easier debuging. | ||||
|      * | ||||
|      * @return string | ||||
|      */ | ||||
|     public function __toString(): string; | ||||
| } | ||||
|   | ||||
| @@ -19,6 +19,8 @@ use App\Exception\NoValidChoiceException; | ||||
| use App\DBAL\Types\Meta\Right\CRUDType; | ||||
|  | ||||
| /** | ||||
|  * @todo Remove relation attribut! | ||||
|  * | ||||
|  * @author kevinfrantz | ||||
|  * @ORM\Table(name="meta_right") | ||||
|  * @ORM\Entity(repositoryClass="App\Repository\RightRepository") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user