mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Started base work on attribute system
This commit is contained in:
32
app/Repos/AttributeRepo.php
Normal file
32
app/Repos/AttributeRepo.php
Normal file
@ -0,0 +1,32 @@
|
||||
<?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;
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user