Repo for the search and displace core module including the interface to select files and search and displace operations to run on them. https://searchanddisplace.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
585 B

<?php
namespace App\SearchDisplace\Searchers;
class Searcher
{
protected $searchers;
public function __construct($searchers)
{
$this->searchers = $searchers;
}
public function execute()
{
// Iterate through searchers and check if they are valid by comparing to Mapper's data.
// If at least one searcher does not exist throw exception.
// Searchers can be a mapper too, the key is the order number and the value is the object.
// The object should contain the searcher name, other info, like the user input.
}
}