for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of php-task library.
*
* (c) php-task
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Task\TaskBundle\Tests\Functional;
use Task\Handler\TaskHandlerInterface;
/**
* This handler is used for testing purpose.
class TestHandler implements TaskHandlerInterface
{
* {@inheritdoc}
public function handle($workload)
if (empty($workload)) {
return 'No workload.';
}
return strrev($workload);