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
|
## 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();
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue