<?php

namespace idoit\Component\Protocol;

use Symfony\Component\DependencyInjection\Container;

/**
 * i-doit Protocols
 *
 * @package     idoit\Component\Protocol
 * @author      Dennis Stücken <dstuecken@i-doit.com>
 * @copyright   synetics GmbH
 * @license     http://www.i-doit.com/license
 */
interface ContainerAware
{

    /**
     * @return Container
     */
    public function getDi();

    /**
     * @param Container $container
     *
     * @return mixed
     */
    public function setDi(Container $container);
}
