mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04: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;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|