for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Modules\Core\Traits\Criteria;
trait ParserSearchTrait
{
protected function parserSearch()
if (stripos($this->search, ';') || stripos($this->search, ':')) {
$values = explode(';', $this->search);
foreach ($values as $value) {
$s = explode(':', $value);
if (count($s) == 1) {
$this->search = $s[0];
search
}
$this->search = null;