Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
antarestupin committed Apr 26, 2016
1 parent 0bff07b commit 87890c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Here is a (very) basic example:
class Customer
{
use AutomatedBehaviorTrait;

/**
* @Access({Access::GET, Access::SET})
* @Assert\Email
Expand Down Expand Up @@ -76,11 +76,13 @@ The configuration of this bundle is quite simple, take a look:
# app/config/config.yml
antares_accessible:
cache.enable: true # default: false
constraints_validation.enable: false # default: true
constraints_validation.validate_initialize_values: true # default: %kernel.debug%
```
Here are the meanings of the configuration values:
- `cache.enable`: Do you want a cache driver to be used?
- `constraints_validation.enable`: Do you want your class setters to use constraints validation?
- `constraints_validation.validate_initialize_values`: Do you want the `@Initialize` and `@InitializeObject` values to be validated?

### Use a custom cache driver
Expand Down

0 comments on commit 87890c0

Please sign in to comment.