1: <?php
2: /**
3: * PHP version 5
4: * @package generalDriver
5: * @author Christian Schiffler <c.schiffler@cyberspectrum.de>
6: * @author Stefan Heimes <stefan_heimes@hotmail.com>
7: * @author Tristan Lins <tristan.lins@bit3.de>
8: * @copyright The MetaModels team.
9: * @license LGPL.
10: * @filesource
11: */
12:
13: namespace DcGeneral\DataDefinition\Definition\View;
14:
15: /**
16: * Default implementation of a panel layout definition.
17: *
18: * @package DcGeneral\DataDefinition\Definition\View
19: */
20: class DefaultPanelLayout implements PanelLayoutInterface
21: {
22: /**
23: * The rows of the layout.
24: *
25: * @var PanelRowCollectionInterface
26: */
27: protected $rows;
28:
29: /**
30: * Create a new instance.
31: */
32: public function __construct()
33: {
34: $this->rows = new DefaultPanelRowCollection();
35: }
36:
37: /**
38: * {@inheritDoc}
39: */
40: public function getRows()
41: {
42: return $this->rows;
43: }
44: }
45: