arachne / entity-loader
Enables object parameters in nette/application.
Installs: 5 389
Dependents: 2
Suggesters: 2
Security: 0
Stars: 11
Watchers: 3
Forks: 4
Open Issues: 2
Requires
- php: ^7.1.0
- arachne/service-collections: ^0.1.0 || ^0.2.0
- contributte/cache: ^0.1.0 || ^0.2.0 || ^0.3.0
- contributte/event-dispatcher: ^0.3.0 || ^0.4.0 || ^0.5.0
- contributte/event-dispatcher-extra: ^0.4.0
- nette/application: ^2.4.0
- nette/caching: ^2.5.0
- nette/di: ^2.4.10
- nette/http: ^2.4.0
- nette/utils: ^2.4.0
Requires (Dev)
- arachne/codeception: ^0.8.0
- codeception/codeception: ^2.4.3
- eloquent/phony: ^3.0.0
- eloquent/phony-phpunit: ^4.0.0
- eloquent/phpstan-phony: ^0.3.0
- friendsofphp/php-cs-fixer: ^2.8.0
- nette/security: ^2.4.0
- nextras/secured-links: ^1.3.0
- phpstan/phpstan: ^0.10.0
- phpstan/phpstan-nette: ^0.10.0
- phpstan/phpstan-strict-rules: ^0.10.0
- v0.13.2
- v0.13.1
- v0.13.0
- dev-master / 0.12.x-dev
- v0.12.2
- v0.12.1
- v0.12.0
- v0.11.0
- v0.10.2
- v0.10.1
- v0.10.0
- v0.9.5
- v0.9.4
- v0.9.3
- v0.9.2
- v0.9.1
- v0.9.0
- v0.8.x-dev
- v0.8.8
- v0.8.7
- v0.8.6
- v0.8.5
- v0.8.4
- v0.8.3
- v0.8.2
- v0.8.1
- v0.8.0
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.3
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.0
- v0.3.0
- v0.3.0-beta3
- v0.3.0-beta2
- v0.3.0-beta1
- v0.2.0
- v0.1.0
This package is auto-updated.
Last update: 2024-12-18 03:08:46 UTC
README
Enables object parameters in nette/application.
// Without EntityLoader public function actionEdit($id) { $article = $this->em->getRepository(Article::class)->find($id); if (! $article) { $this->error(); // 404 } // ... } // With EntityLoader public function actionEdit(Article $article) { // ... }