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.
25 lines
423 B
25 lines
423 B
<?php
|
|
|
|
namespace App\SearchDisplace\Searchers;
|
|
|
|
use App\SearchDisplace\Searchers\Handlers\Emails;
|
|
|
|
class Mapper
|
|
{
|
|
protected $mapper;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->mapper = [
|
|
'email' => [
|
|
'name' => 'Email',
|
|
'handler' => Emails::class,
|
|
],
|
|
];
|
|
}
|
|
|
|
public function get()
|
|
{
|
|
return array_keys($this->mapper);
|
|
}
|
|
}
|