Random thoughts
nasyrov opened this issue · comments
Add directories: it would be cool to add directories so the engine knows where to look for the bricks:
$engine->addDirectories([
'bricks.common',
'bricks.components',
...
]);
I'm thinking that I should remove registerMatcher method from Engine class and implement it inside MatcherLoader. In this way I can get rid of MatcherCollection and expose MatcherLoader instance when regestering a new matcher.