mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-26 13:34:01 +01:00
22 lines
308 B
PHP
22 lines
308 B
PHP
<?php
|
|
|
|
namespace Infinito\Attribut;
|
|
|
|
trait PriorityAttribut
|
|
{
|
|
/**
|
|
* @var int
|
|
*/
|
|
protected $priority;
|
|
|
|
public function setPriority(int $priority): void
|
|
{
|
|
$this->priority = $priority;
|
|
}
|
|
|
|
public function getPriority(): int
|
|
{
|
|
return $this->priority;
|
|
}
|
|
}
|