]> BookStack Code Mirror - bookstack/blob - app/Repos/AttributeRepo.php
d5cf5b0fdb55049912ce3dafd153d56e97831310
[bookstack] / app / Repos / AttributeRepo.php
1 <?php namespace BookStack\Repos;
2
3 use BookStack\Attribute;
4 use BookStack\Entity;
5 use BookStack\Services\PermissionService;
6
7 /**
8  * Class AttributeRepo
9  * @package BookStack\Repos
10  */
11 class AttributeRepo
12 {
13
14     protected $attribute;
15     protected $entity;
16     protected $permissionService;
17
18     /**
19      * AttributeRepo constructor.
20      * @param Attribute $attr
21      * @param Entity $ent
22      * @param PermissionService $ps
23      */
24     public function __construct(Attribute $attr, Entity $ent, PermissionService $ps)
25     {
26         $this->attribute = $attr;
27         $this->entity = $ent;
28         $this->permissionService = $ps;
29     }
30
31
32 }