cubicmushroom/value-objects-bundle

Symfony bundle to integrate value objects from the nicolopignatelli/valueobjects package

v2.8.1 2017-11-28 10:43 UTC

This package is not auto-updated.

Last update: 2024-11-09 19:34:56 UTC


README

Symfony bundle to integrate value objects from the nicolopignatelli/valueobjects package

Usage instructions

  1. Install via composer...

     $ composer require cubicmushroom/value-objects-bundle {version}
    
  2. Register the bundle with Symfony in the app/AppKernel.php file...

     class AppKernel extends Kernel
     {
         public function registerBundles()
         {
             $bundles = [
                 // ...
                 new \CubicMushroom\Symfony\ValueObjectsBundle\CMValueObjectsBundle(),
                 // ...
             ];
         }
     }
    

Which version do I use?

This Package's minor releases follow along with those of the Symfony framework, i.e. 2.7.x should be installed for Symfony 2.7.x projects, 2.8.x should be installed for Symfony 2.8.x projects, etc.