• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jojo1981 / decoder-aggregate / 12712243989

10 Jan 2025 03:19PM UTC coverage: 100.0%. Remained the same
12712243989

push

github

jojo1981
Use GitHub actions workflow for CI instead of Travis CI.

112 of 112 relevant lines covered (100.0%)

4.81 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/EncoderDecoderProviderInterface.php
1
<?php declare(strict_types=1);
2
/*
3
 * This file is part of the jojo1981/decoder-aggregate package
4
 *
5
 * Copyright (c) 2021 Joost Nijhuis <jnijhuis81@gmail.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed in the root of the source code
9
 */
10
namespace Jojo1981\DecoderAggregate;
11

12
use Jojo1981\DecoderAggregate\Exception\EncoderDecoderProviderException;
13

14
/**
15
 * @package Jojo1981\DecoderAggregate
16
 */
17
interface EncoderDecoderProviderInterface
18
{
19
    /**
20
     * @param string $format
21
     * @return EncoderInterface
22
     * @throws EncoderDecoderProviderException
23
     */
24
    public function getEncoder(string $format): EncoderInterface;
25

26
    /**
27
     * @param string $format
28
     * @return DecoderInterface
29
     * @throws EncoderDecoderProviderException
30
     */
31
    public function getDecoder(string $format): DecoderInterface;
32
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc