Renamed TypeAttribut to CrudAttribut

This commit is contained in:
Kevin Frantz
2019-01-16 21:22:18 +01:00
parent 665f0044cc
commit 93bf246915
28 changed files with 113 additions and 107 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace App\Entity\Attribut;
/**
* @todo Implement a trait for crud which substitute this one.
*
* @author kevinfrantz
*/
trait CrudAttribut
{
/**
* @var string
*/
protected $crud;
/**
* @param string $crud
*/
public function setCrud(string $crud): void
{
$this->crud = $crud;
}
/**
* @return string
*/
public function getCrud(): string
{
return $this->crud;
}
}