diff --git a/src/Options.php b/src/Options.php index 99f1aab..9f61edb 100644 --- a/src/Options.php +++ b/src/Options.php @@ -11,6 +11,11 @@ class Options */ public $fileTypes = ['.php']; + /** + * List of options that affect the indexer + */ + private $indexerOptions = ['fileTypes']; + /** * Validate/Filter input and set options for file types * @@ -26,6 +31,16 @@ class Options $this->fileTypes = !empty($fileTypes) ? $fileTypes : $this->fileTypes; } + /** + * Get list with options that affect the indexer + * + * @return array + */ + public function getIndexerOptions(): array + { + return $this->indexerOptions; + } + /** * Filter valid file type *