Skip to content

Commit

Permalink
cleaning up initial documentation for sf config
Browse files Browse the repository at this point in the history
Signed-off-by: RJ Garcia <ragboyjr@icloud.com>
  • Loading branch information
ragboyjr committed Mar 22, 2020
1 parent ded1eb4 commit 4fc0038
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Declare and build symfony config tree builders declaratively with the `configTre

use Symfony\Component\Config\Definition\{ConfigurationInterface, TreeBuilder};
use function Krak\Schema\ProcessSchema\SymfonyConfig\configTree;
use function Krak\Schema\{dict, string};

final class Configuration implements ConfigurationInterface
{
Expand All @@ -60,6 +61,8 @@ final class Configuration implements ConfigurationInterface

*Note:* This currently supports Symfony 4 and 5 config.

[Check out the feature test suite to see examples of all the supported api.](test/feature/SymfonyConfigTest.php)

#### Comparison of Declarative vs Builder Syntax

Here's a seemingly simple config file that we'd want to validate the schema of:
Expand Down

0 comments on commit 4fc0038

Please sign in to comment.