refactoring of filters
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Lucent\Query\BuilderConverter;
|
||||
|
||||
use Lucent\Query\Filter\Argument;
|
||||
|
||||
class BuilderConverter
|
||||
{
|
||||
public function for(Argument $argument): IBuilderConverter
|
||||
{
|
||||
return new ($argument->operator->converter)($argument);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user