4 * This file is part of the Behat.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Testwork\Output\ServiceContainer\Formatter;
13 use Symfony\Component\DependencyInjection\ContainerBuilder;
16 * Provides a way to easily define custom formatters.
18 * @author Konstantin Kudryashov <ever.zet@gmail.com>
20 interface FormatterFactory
23 * Builds formatter configuration.
25 * @param ContainerBuilder $container
27 public function buildFormatter(ContainerBuilder $container);
30 * Processes formatter configuration.
32 * @param ContainerBuilder $container
34 public function processFormatter(ContainerBuilder $container);