for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Symfony package.
*
* (c) Arnaud LEMAIRE <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Fp\Reducer\Termination;
use Fp\Reducer\Reducer;
class Appending implements Reducer
{
public function init()
return [];
}
public function step($result, $current)
$result[] = $current;
return $result;
public function complete($result)