Core/HttpKernel/Vendor/Vendor.php
<?php
namespace MOC\V\Core\HttpKernel\Vendor;
use MOC\V\Core\HttpKernel\Component\IBridgeInterface;
use MOC\V\Core\HttpKernel\Component\IVendorInterface;
/**
* Class Vendor
*
* @package MOC\V\Core\HttpKernel\Component
*/
class Vendor implements IVendorInterface
{
/** @var IBridgeInterface $BridgeInterface */
private $BridgeInterface = null;
/**
* @param IBridgeInterface $BridgeInterface
*/
public function __construct(IBridgeInterface $BridgeInterface)
{
$this->setBridgeInterface($BridgeInterface);
}
/**
* @return IBridgeInterface
*/
public function getBridgeInterface()
{
return $this->BridgeInterface;
}
/**
* @param IBridgeInterface $BridgeInterface
*
* @return IVendorInterface
*/
public function setBridgeInterface(IBridgeInterface $BridgeInterface)
{
$this->BridgeInterface = $BridgeInterface;
return $this;
}
}