1<?php
2
3/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5namespace ILIAS\UI\Component\ViewControl;
6
7/**
8 * Trait for adding view controls to a component
9 */
10interface HasViewControls
11{
12    /**
13     * Add View Controls
14     *
15     * @param array $view_controls Array Of ViewControls
16     * @return \ILIAS\UI\Component\Component
17     */
18    public function withViewControls(array $view_controls) : \ILIAS\UI\Component\Component;
19
20    /**
21     * Get View Controls
22     *
23     * @return array Array of ViewControls
24     */
25    public function getViewControls() : ?array;
26}
27