2017 © Pedro Peláez
 

library kernel-traits

Symfony kernel traits

image

bangpound/kernel-traits

Symfony kernel traits

  • Monday, December 7, 2015
  • by bangpound
  • Repository
  • 1 Watchers
  • 0 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Symfony Kernel Traits

Symfony 2.8 has that new Microkernel trait and this package contains some other simple traits that can support development of simple Symfony Kernel applications., (*1)

Using these traits effectively probably requires you to store configuration in the environment with SYMFONY__ prefixed envrionment variables., (*2)

ClassBasedNameTrait

Use this trait in your kernel to base the kernel's name on its class name instead of its directory., (*3)

VariableFilesystemTrait

Use this trait in your kernel to store cache and logs in the Symfony 3 standard var location. If you have multiple kernels in the same directory, you will need to use ClassBasedNameTrait to avoid conflicts., (*4)

YamlEnvironmentTrait

Use this trait in your kernel to parse environment variables as YAML before populating the container parameters., (*5)

StandardConfigTrait and MinimalConfigTrait

These two traits are probably not useful in any real sense, but they demonstrate how to sustain a Symfony Standard configuration with the microkernel trait and the bare minimum required to instantiate the kernel and framework, respectively., (*6)

The Versions

07/12 2015

dev-master

9999999-dev

Symfony kernel traits

  Sources   Download

MIT