Skip to content

Commit

Permalink
Readme: display attributes with #[Foo] (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
janedbal authored Sep 5, 2024
1 parent 18ebda2 commit 5d4d631
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ includes:
#### Symfony:
- **constructor calls for DIC services!**
- [`phpstan/phpstan-symfony`](https://github.com/phpstan/phpstan-symfony) with `containerXmlPath` must be used
- `AsEventListener` attribute
- `Required` attribute
- `Route` attributes
- `#[AsEventListener]` attribute
- `#[Required]` attribute
- `#[Route]` attributes
- `onKernelResponse`, `onKernelRequest`, etc

#### Doctrine:
- `AsEntityListener` attribute
- `#[AsEntityListener]` attribute
- `Doctrine\ORM\Events::*` events
- `Doctrine\Common\EventSubscriber` methods
- lifecycle event attributes `PreFlush`, `PostLoad`, ...
- lifecycle event attributes `#[PreFlush]`, `#[PostLoad]`, ...

#### PHPUnit:
- **data provider methods**
Expand Down

0 comments on commit 5d4d631

Please sign in to comment.