Decorate your methods/functions in laravel
-
Updated
Jan 22, 2020 - PHP
Decorate your methods/functions in laravel
Small decorator that extends @symfony OutputInterface delivered class with few options for easier to log data
PHP Design Patterns - Decorator Pattern Sample
Hooks before/after any method call
Psr-11 container decorator allowing to override container entries at runtime
Psr-11 container decorator providing auto-wiring feature
Decorator pattern allows us to add new functionality to an existing object. This pattern requires a decorator class which wraps the original class in order to provide additional functionality. For now, we are going to implement a simple example using PHP and see how the decorator works.
Memoization for PHP methods using a Python style Decorator pattern.
PSR-11 container decorator caching resolved instances.
The phpdecorator library can be used to wrap functions of objects and classes with additional functionality. This is a feature that can be compared to Python decorators.
Flysystem Adapter Encryption Decorator
Decorative design pattern to ease WSDL handling based on DomHandler
Decorative design pattern to ease DOM handling
Lets you easily create decorator classes to modify the behaviors of a Doctrine collection
Clean Architecture, SOLID, PHP 8.2, Laravel 9, RESTful API, Nginx, PostgreSQL 16, MySQL 8, CRUD, DTO, Enum, Docker Compose, Unit tests, Feature tests, SQL, Repository Criteria Pattern, Mocking Objects, Design Patterns, PHPUnit
Add a description, image, and links to the decorator topic page so that developers can more easily learn about it.
To associate your repository with the decorator topic, visit your repo's landing page and select "manage topics."