- Clone this repository
- Go to project's root directory
- Run
composer install
- That's it! You can check sample code in
index.php
, but all code is placed in./test/
- Go to
index.php
or just runphp vendor/bin/codecept run unit
- Create your own class which inherits
\Main\Search\Model\BaseSearch::class
- Implement your very own
search
method - Optional : create your own class which inherits
\Main\Search\Entity\BaseResult
- To make your results appear in
ResultCollection
be sure you have returned\Main\Search\Entity\BaseResult
with propertyline
which is notfalse