2017 © Pedro Peláez
 

symfony-bundle service-generator

Generate Symfony service based on definition in services.yml

image

tweedegolf/service-generator

Generate Symfony service based on definition in services.yml

  • Monday, March 20, 2017
  • by tweedegolf
  • Repository
  • 3 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Tweede Golf Symfony Service Generator

Generates PHP class files from service definitions found in app/config/services.yml, (*1)

Usage: bin/symfony generate:service, (*2)

This command will prompt you to generate all classes that are defines in services.yml but do not exist in the current namespace., (*3)

Installation

Using Composer add the bundle to your requirements:, (*4)

composer require --dev tweedegolf/service-generator

Add the bundle to your AppKernel

Finally add the bundle in app/AppKernel.php:, (*5)

public function registerBundles()
{
    $bundles = [
        // ...
    ];

    if (in_array($this->getEnvironment(), ['dev', 'test'])) {
        // ...
        $bundles[] = new TweedeGolf\ServiceGenerator\ServiceGeneratorBundle();
    }

    return $bundles;
}

The Versions

20/03 2017

dev-master

9999999-dev

Generate Symfony service based on definition in services.yml

  Sources   Download

MIT

The Requires

 

by Marlon Baeten

20/03 2017

v0.1

0.1.0.0

Generate Symfony service based on definition in services.yml

  Sources   Download

MIT

The Requires

 

by Marlon Baeten