update readme

This commit is contained in:
icefox 2026-01-05 10:43:08 -03:00
parent 25ad35e7ed
commit 75e0ce6530
No known key found for this signature in database

View file

@ -5,7 +5,7 @@ A minimalistic Aspect-Oriented Programming (AOP) implementation for PHP that use
## Installation ## Installation
```bash ```bash
composer install composer install icefox/aspect
``` ```
## Usage ## Usage
@ -62,7 +62,7 @@ $loader = AspectBuilder::begin()
// list of class names // list of class names
->withClasses([ MyClass::class ]) ->withClasses([ MyClass::class ])
// namespace prefix // namespace prefix
->withNamespaces([ "MyApplication\" ]) ->withNamespaces([ "MyApplication\\" ])
->build($weaver) ->build($weaver)
->register(); ->register();
``` ```