mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-11 06:47:31 +01:00
33 lines
465 B
PHP
33 lines
465 B
PHP
|
<?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;
|
||
|
}
|
||
|
}
|