library sf-container-haringo-val
Haringo ValueSource extension that provides values from Symfony Container
lukaszmakuch/sf-container-haringo-val
Haringo ValueSource extension that provides values from Symfony Container
- Saturday, February 6, 2016
- by lukaszmakuch
- Repository
- 1 Watchers
- 0 Stars
- 8 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
, (*1)
SfContainerHaringoVal
Let Haringo use values from the Symfony DI container!, (*2)
Using values from the Symfony DI container
<?php
use lukaszmakuch\SfContainerHaringoVal\InjectedValue;
$valueSourceFromContainer = new InjectedValue("service_key");
Getting Symfony container Haringo value source extension
$ composer require lukaszmakuch/sf-container-haringo-val
Building extension
<?php
use lukaszmakuch\SfContainerHaringoVal\InjectedValueExtensionFactory;
use Symfony\Component\DependencyInjection\Container;
/* @var $symfonyContainer Container */
$extensionFactory = new InjectedValueExtensionFactory();
$extension = $extensionFactory->buildWith($symfonyContainer);
Installing
For installation instruction check the main Haringo documentation., (*3)
dev-master
9999999-dev
Haringo ValueSource extension that provides values from Symfony Container
Sources
Download
MIT
The Requires
The Development Requires
v0.0.2
0.0.2.0
Haringo ValueSource extension that provides values from Symfony Container
Sources
Download
MIT
The Requires
The Development Requires
v0.0.1
0.0.1.0
Haringo ValueSource extension that provides values from Symfony Container
Sources
Download
MIT
The Requires
The Development Requires