-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add ResourceChannel, ResourceLanguage, ResourceLocation, Cached…
…ResourceLoader, ResourceHierarchyWalker and ResourceHierarchyFinder * feat: add ResourceHierarchyLoader::findRecursive() and new CachedResourceLoader * feat: work in process * docs: typo * refactor: create findRecursiveInternal for internal method signatur * refactor: remove $parentPath for findResource() callable * feat: lang support * chore: normalize composer.json * fix: add empty directories for tests * fix: resource base location * Update src/ResourceHierarchyLoader.php Co-authored-by: Mario Schäper <95750382+sitepark-schaeper@users.noreply.github.com> * feat: ResourceHierarchyWalker implementation * refactor: findRecursive replaced * docs: add ResourceHierarchyWalker class doc * refactor: ResourceHierarchyLoader extends ResourceLoader * feat: allow string for ResourceHierarchyWalker::walk * Update src/Loader/SiteKitLoader.php Co-authored-by: Mario Schäper <95750382+sitepark-schaeper@users.noreply.github.com> * fix: phpstan error * refactor: use shortened syntax * refactor: make code easier to understand * refactor: rename $resourceChannel to $resourceChannelFactory * refactor: call $this->baseLocator->locate() in constructor * refactor: simplify code * docs: fix doc * refactor: rename ResourceChannel::preview to ResourceChannel:isPreview * style: update newlines * refactor: SiteKitResourceChannelFactory::findContextPhpFile() * refactor: remove ResourceBaseLocator * refactor: ResourceLocation and ResourceLanguage * fix: phpcs fixes * test: refactor resource creation * refactor: code review suggestion --------- Co-authored-by: Mario Schäper <95750382+sitepark-schaeper@users.noreply.github.com>
- Loading branch information
1 parent
304c8cf
commit c89df86
Showing
79 changed files
with
1,609 additions
and
973 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.