Mark V
1: <?php
2: namespace MOC\V\Component\Template\Component\Bridge;
3:
4: use MOC\V\Component\Template\Component\IBridgeInterface;
5:
6: /**
7: * Class Bridge
8: *
9: * @package MOC\V\Component\Template\Component\Bridge
10: */
11: abstract class Bridge implements IBridgeInterface
12: {
13:
14: /** @var array $VariableList */
15: protected $VariableList = array();
16:
17: /**
18: * @param string $Identifier
19: * @param mixed $Value
20: *
21: * @return IBridgeInterface
22: */
23: public function setVariable($Identifier, $Value)
24: {
25:
26: $this->VariableList[$Identifier] = $Value;
27: return $this;
28: }
29:
30: /**
31: * @param bool|false $Reload
32: *
33: * @return object
34: */
35: abstract public function createInstance($Reload = false);
36: }
37: