Started base work on attribute system

This commit is contained in:
Dan Brown
2016-05-06 20:33:08 +01:00
parent 1903422113
commit 5080b4996e
7 changed files with 165 additions and 7 deletions

View File

@ -0,0 +1,32 @@
<?php namespace BookStack\Http\Controllers;
use BookStack\Repos\AttributeRepo;
use Illuminate\Http\Request;
use BookStack\Http\Requests;
class AttributeController extends Controller
{
protected $attributeRepo;
/**
* AttributeController constructor.
* @param $attributeRepo
*/
public function __construct(AttributeRepo $attributeRepo)
{
$this->attributeRepo = $attributeRepo;
}
/**
* Get all the Attributes for a particular entity
* @param $entityType
* @param $entityId
*/
public function getForEntity($entityType, $entityId)
{
}
}