1 <?php namespace BookStack\Http\Controllers;
3 use BookStack\Repos\AttributeRepo;
4 use Illuminate\Http\Request;
6 use BookStack\Http\Requests;
8 class AttributeController extends Controller
11 protected $attributeRepo;
14 * AttributeController constructor.
15 * @param $attributeRepo
17 public function __construct(AttributeRepo $attributeRepo)
19 $this->attributeRepo = $attributeRepo;
24 * Get all the Attributes for a particular entity
28 public function getForEntity($entityType, $entityId)