We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ok, i find a way to fix my things in #31 Sorry for my english is not good at all...
Ok, open RobotLoader.php and find: private array $excludeDirs = []; after this line add: private array $excludeFiles = [];
private array $excludeDirs = [];
private array $excludeFiles = [];
find:
public function excludeDirectory(string ...$paths): static { $this->excludeDirs = array_merge($this->excludeDirs, $paths); return $this; }
after this add:
public function excludeFiles($files) { $this->excludeFiles = $files; return $this; }
find: exclude($this->ignoreDirs); make it like this: exclude($this->ignoreDirs)->exclude($this->excludeFiles);
exclude($this->ignoreDirs);
exclude($this->ignoreDirs)->exclude($this->excludeFiles);
After that you can use: $loader->excludeFiles(['sql.php','en.php','es.php','bg.php','fr.php','ru.php','migrate.php']);
$loader->excludeFiles(['sql.php','en.php','es.php','bg.php','fr.php','ru.php','migrate.php']);
excludeDirs is working normal with this addon (i tested it). Can you commit the changes ? :)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ok, i find a way to fix my things in #31
Sorry for my english is not good at all...
Ok, open RobotLoader.php and find:
private array $excludeDirs = [];
after this line add:
private array $excludeFiles = [];
find:
after this add:
find:
exclude($this->ignoreDirs);
make it like this:
exclude($this->ignoreDirs)->exclude($this->excludeFiles);
After that you can use:
$loader->excludeFiles(['sql.php','en.php','es.php','bg.php','fr.php','ru.php','migrate.php']);
excludeDirs is working normal with this addon (i tested it).
Can you commit the changes ? :)
The text was updated successfully, but these errors were encountered: