composer require labile/text-matcher
<?php
declare(strict_types=1);
use Astaroth\TextMatcher;
$textMatcher = new TextMatcher("i love Katya", "love", TextMatcher::CONTAINS);
if ($textMatcher->compare()){
//...
}| Name | Name | Last commit date | ||
|---|---|---|---|---|
composer require labile/text-matcher
<?php
declare(strict_types=1);
use Astaroth\TextMatcher;
$textMatcher = new TextMatcher("i love Katya", "love", TextMatcher::CONTAINS);
if ($textMatcher->compare()){
//...
}