Mark V
1: <?php
2: namespace MOC\V\Component\Template\Vendor;
3:
4: use MOC\V\Component\Template\Component\IBridgeInterface;
5: use MOC\V\Component\Template\Component\IVendorInterface;
6:
7: /**
8: * Class Vendor
9: *
10: * @package MOC\V\Component\Template\Component
11: */
12: class Vendor implements IVendorInterface
13: {
14:
15: /** @var IBridgeInterface $BridgeInterface */
16: private $BridgeInterface = null;
17:
18: /**
19: * @param IBridgeInterface $BridgeInterface
20: */
21: public function __construct(IBridgeInterface $BridgeInterface)
22: {
23:
24: $this->setBridgeInterface($BridgeInterface);
25: }
26:
27: /**
28: * @return IBridgeInterface
29: */
30: public function getBridgeInterface()
31: {
32:
33: return $this->BridgeInterface;
34: }
35:
36: /**
37: * @param IBridgeInterface $BridgeInterface
38: *
39: * @return IVendorInterface
40: */
41: public function setBridgeInterface(IBridgeInterface $BridgeInterface)
42: {
43:
44: $this->BridgeInterface = $BridgeInterface;
45: return $this;
46: }
47: }
48: