Completed
Pull Request — master (#20)
by Wachter
08:50 queued 06:29
created

TestHandler::handle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of php-task library.
5
 *
6
 * (c) php-task
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Task\TaskBundle\Tests\Functional;
13
14
use Task\Handler\TaskHandlerInterface;
15
16
/**
17
 * This handler is used for testing purpose.
18
 */
19
class TestHandler implements TaskHandlerInterface
20
{
21
    /**
22
     * {@inheritdoc}
23
     */
24
    public function handle($workload)
25
    {
26
        return strrev($workload);
27
    }
28
}
29