widmogrod/php-functional

View on GitHub
src/Useful/PatternMatcher.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

declare(strict_types=1);

namespace Widmogrod\Useful;

interface PatternMatcher
{
    /**
     * should be used with conjuction
     * @param  callable $fn
     * @return mixed
     */
    public function patternMatched(callable $fn);
}