Completed
Push — issue/127 ( 820451 )
by Alex
03:52
created

DefaultCallback   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A process() 0 4 1
1
<?php declare(strict_types=1);
2
/*
3
 * This file is part of the feed-io package.
4
 *
5
 * (c) Alexandre Debril <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace FeedIo\Async;
12
13
use FeedIo\Reader\Result;
14
15
class DefaultCallback implements CallbackInterface
16
{
17
    /**
18
     * @inheritDoc
19
     */
20
    public function process(Result $result): void
21
    {
22
        echo "I processed {$result->getUrl()} \n";
23
    }
24
}
25