mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-28 21:22:30 +00:00
32 lines
636 B
PHP
32 lines
636 B
PHP
<?php namespace BookStack\Repos;
|
|
|
|
use BookStack\Attribute;
|
|
use BookStack\Entity;
|
|
use BookStack\Services\PermissionService;
|
|
|
|
/**
|
|
* Class AttributeRepo
|
|
* @package BookStack\Repos
|
|
*/
|
|
class AttributeRepo
|
|
{
|
|
|
|
protected $attribute;
|
|
protected $entity;
|
|
protected $permissionService;
|
|
|
|
/**
|
|
* AttributeRepo constructor.
|
|
* @param Attribute $attr
|
|
* @param Entity $ent
|
|
* @param PermissionService $ps
|
|
*/
|
|
public function __construct(Attribute $attr, Entity $ent, PermissionService $ps)
|
|
{
|
|
$this->attribute = $attr;
|
|
$this->entity = $ent;
|
|
$this->permissionService = $ps;
|
|
}
|
|
|
|
|
|
} |