blob: 4768900ce23738bcf5436a981da5c9c736eb9863 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
<?php
namespace Wallabag\CoreBundle\Operator\PHP;
class Matches
{
public function __invoke($subject, $pattern)
{
return stripos($subject, $pattern) !== false;
}
}
|