DerDu/MOC-Framework-Mark-V

View on GitHub
Component/Database/Vendor/Vendor.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace MOC\V\Component\Database\Vendor;

use MOC\V\Component\Database\Component\IBridgeInterface;
use MOC\V\Component\Database\Component\IVendorInterface;

/**
 * Class Vendor
 *
 * @package MOC\V\Component\Database\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;
    }
}