mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-11 17:59:26 +00:00
12 lines
185 B
PHP
12 lines
185 B
PHP
<?php
|
|
|
|
namespace Wallabag\CoreBundle\Operator\PHP;
|
|
|
|
class Matches
|
|
{
|
|
public function __invoke($subject, $pattern)
|
|
{
|
|
return stripos($subject, $pattern) !== false;
|
|
}
|
|
}
|