2017 © Pedro Peláez
 

library symfony-extensions

Provides some extra goodies to the base controller class and Doctrine entities in Symfony 2.

image

blake/symfony-extensions

Provides some extra goodies to the base controller class and Doctrine entities in Symfony 2.

  • Monday, April 15, 2013
  • by Panoptisis
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SymfonyExtensions

This library adds some simple functionality that I find helpful when creating Symfony 2 applications., (*1)

Installation

To use this library, simply add SymfonyExtensions to your composer.json:, (*2)

{
    "require": {
        "blake/symfony-extensions": "*"
    }
}

Documentation

For now, this library provides some base classes that you can extend to get some added functionality., (*3)

Blake\SymfonyExtensions\Controller\Controller

  • Provides a #getRepository($className) method that is a shortcut for #getDoctrine()->getRepository($className)

Blake\SymfonyExtensions\Entity\Entity

  • Provides magic getters and setters so you don't need to generate and maintain them
    • E.g. getName() will return the value of $name if it exists
    • Properties can be ignored by prepending them with an underscore (_)

The Versions

15/04 2013

dev-master

9999999-dev https://github.com/Panoptisis/SymfonyExtensions

Provides some extra goodies to the base controller class and Doctrine entities in Symfony 2.

  Sources   Download

MIT

The Requires

 

extension bundle doctrine symfony

14/04 2013

v1.0

1.0.0.0 https://github.com/Panoptisis/SymfonyExtensions

Provides some extra goodies to the base controller class and Doctrine entities in Symfony 2.

  Sources   Download

MIT

The Requires

 

extension bundle doctrine symfony