mirror of
https://github.com/anikeen-com/id.git
synced 2026-03-13 21:56:14 +00:00
20 lines
301 B
PHP
20 lines
301 B
PHP
<?php
|
|
|
|
namespace Anikeen\Id\Concerns;
|
|
|
|
trait HasParent
|
|
{
|
|
protected mixed $parent;
|
|
|
|
public function setParent(mixed $parent): self
|
|
{
|
|
$this->parent = $parent;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getParent()
|
|
{
|
|
return $this->parent;
|
|
}
|
|
} |