update readme
This commit is contained in:
parent
25ad35e7ed
commit
75e0ce6530
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ A minimalistic Aspect-Oriented Programming (AOP) implementation for PHP that use
|
|||
## Installation
|
||||
|
||||
```bash
|
||||
composer install
|
||||
composer install icefox/aspect
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
|
@ -62,7 +62,7 @@ $loader = AspectBuilder::begin()
|
|||
// list of class names
|
||||
->withClasses([ MyClass::class ])
|
||||
// namespace prefix
|
||||
->withNamespaces([ "MyApplication\" ])
|
||||
->withNamespaces([ "MyApplication\\" ])
|
||||
->build($weaver)
|
||||
->register();
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue