Aerendir/bundle-features

View on GitHub
docs/Features/Specification-Boolean.md

Summary

Maintainability
Test Coverage
*Do you like this bundle? [**Leave a ★**](#js-repo-pjax-container) or run `composer global require symfony/thanks && composer thanks` to say thank you to all libraries you use in your current project, this included!*

BOOLEAN FEATURE SPECIFICATION
=============================

This is the full configuration of a Boolean feature:

```
...
    a_boolean_feature:
        type: boolean
        # If true, the feature is enabled when the default subscription is created
        enabled: false
        # Optional: if not set the feature is free
        price:
            # Currency code in ISO 4217 format
            EUR:
                # Subscription periods: The price in the base currency units
                monthly: 500
                yearly: 5000

```

<hr />
<h3 align="center">
    <b>Do you like this bundle?</b><br />
    <b><a href="#js-repo-pjax-container">LEAVE A &#9733;</a></b>
</h3>
<p align="center">
    or run<br />
    <code>composer global require symfony/thanks && composer thanks</code><br />
    to say thank you to all libraries you use in your current project, this included!
</p>
<hr />