Update readme
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# PCM Metadata Bundle
|
||||
|
||||
Easily add metadata to a Symfony entity via the use of a key-value interface.
|
||||
Easily add scalar metadata to a Symfony entity via the use of a key-value interface.
|
||||
|
||||
# Usage
|
||||
1. Use the `MetadataTrait` inside an entity:
|
||||
@@ -20,3 +20,4 @@ $entity->metadata->isSet("name"); // true
|
||||
|
||||
> Like setting a property normally, setting metadata values will not automatically update the database.
|
||||
You must call `flush()` from the `EntityManager` as usual when you wish to persist data.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user