mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-04-04 22:33:48 +00:00
36 lines
587 B
PHP
36 lines
587 B
PHP
<?php
|
|
|
|
namespace Infinito\Attribut;
|
|
|
|
use Doctrine\Common\Collections\Collection;
|
|
use Infinito\Entity\Meta\History\LogInterface;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*
|
|
* @see LogsAttributInterface
|
|
*/
|
|
trait LogsAttribut
|
|
{
|
|
/**
|
|
* @var Collection|LogInterface[]
|
|
*/
|
|
protected $logs;
|
|
|
|
/**
|
|
* @param Collection|LogInterface[] $logs
|
|
*/
|
|
public function setLogs(Collection $logs): void
|
|
{
|
|
$this->logs = $logs;
|
|
}
|
|
|
|
/**
|
|
* @return Collection|LogInterface[]
|
|
*/
|
|
public function getLogs(): Collection
|
|
{
|
|
return $this->logs;
|
|
}
|
|
}
|