Seditio Source
Root |
./othercms/croogo-4.0.7/vendor/croogo/croogo/Menus/src/Model/Entity/Link.php
<?php

namespace Croogo\Menus\Model\Entity;

use
Cake\ORM\Behavior\Translate\TranslateTrait;
use
Cake\ORM\Entity;
use
Croogo\Acl\Traits\RowLevelAclTrait;

class
Link extends Entity
{

    use
RowLevelAclTrait;

    use
TranslateTrait;

    protected
$_virtual = ['path'];

    protected function
_getPath()
    {
        return
$this->link ? $this->link->getPath() : null;
    }
}