ocrampete16/php-chain

View on GitHub
src/DummyLink.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace MarcoPetersen\Chain;

/**
 * A link that simply defers to its successor.
 */
class DummyLink extends Link
{
    /**
     * @param $payload
     *
     * @return mixed
     */
    public function execute($payload)
    {
        return $this->next($payload);
    }
}