infinito/application/symfony/src/Entity/Attribut/CrudAttribut.php

33 lines
465 B
PHP
Raw Normal View History

2019-01-16 21:22:18 +01:00
<?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;
}
}