Optimized ORM-Structure

This commit is contained in:
Kevin Frantz
2018-09-06 15:14:33 +02:00
parent 261b704017
commit a857f515d3
7 changed files with 95 additions and 52 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace App\Entity\Attribut;
/**
*
* @author kevinfrantz
*
*/
trait PasswordAttribut {
/**
* @ORM\Column(type="string", length=64)
*/
protected $password;
public function getPassword():string
{
return $this->password;
}
public function setPassword(string $password):void{
$this->password = $password;
}
}