File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,21 @@ You can install the package via composer:
1515composer require morrislaptop/symfony-custom-normalizers
1616```
1717
18+ ## Supported Classes
19+
20+ * [ Brick Money] ( https://github.com/brick/money )
21+ * [ MoneyPHP Money] ( https://github.com/moneyphp/money )
22+ * [ Carbon] ( https://carbon.nesbot.com/ )
23+ * [ DatePeriod] ( https://www.php.net/manual/en/class.dateperiod.php )
24+ * [ Laravel ModelIdentifier] ( https://laravel.com/api/8.x/Illuminate/Contracts/Database/ModelIdentifier.html )
25+
26+ ## Meta Classes
27+
28+ * Any class with a ` __toString() ` method
29+ * Any class with a ` parse($str) ` method
30+ * Any class with a ` __toString() ` if it has a ` parse($str) ` method as well
31+ * ObjectDocblocksNormalizer which simply extends Symfony's ObjectNormalizer but it supports docblocks as well
32+
1833## Usage
1934
2035``` php
You can’t perform that action at this time.
0 commit comments