for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace KGzocha\Searcher\Chain;
/**
* Use this class to indicate that there is no more searchers in the chain.
* It is like a NullObject. It does not do much.
*
* @author Krzysztof Gzocha <[email protected]>
*/
final class EndTransformer implements TransformerInterface
{
* @inheritDoc
public function transform($results)
throw new \RuntimeException(
'Transform method on EmptyTransformer should never be called.'
);
}
public function skip($results)
return false;