BookStack/app/Repos/AttributeRepo.php
2016-05-06 20:33:08 +01:00

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;
}
}