PHP 클래스 Newscoop\NewscoopBundle\DependencyInjection\NewscoopNewscoopExtension

To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}
상속: extends Symfony\Component\HttpKernel\DependencyInjection\Extension, implements Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface
파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
load ( array $configs, ContainerBuilder $container ) {@inheritDoc}
mergeParameters ( $container ) Merge parameters for env's.
prepend ( ContainerBuilder $container )
truepath ( $path ) : string This function is to replace PHP's extremely buggy realpath().

비공개 메소드들

메소드 설명
array_merge_recursive_distinct ( array &$array1, mixed &$array2 = null ) : array array_merge_recursive does indeed merge arrays, but it converts values with duplicate keys to arrays rather than overwriting the value in the first array with the duplicate value in the second array, as array_merge does. I.e., with array_merge_recursive, this happens (documented behavior):

메소드 상세

load() 공개 메소드

{@inheritDoc}
public load ( array $configs, ContainerBuilder $container )
$configs array
$container Symfony\Component\DependencyInjection\ContainerBuilder

mergeParameters() 공개 메소드

Merge parameters for env's.
public mergeParameters ( $container )

prepend() 공개 메소드

public prepend ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder

truepath() 공개 메소드

This function is to replace PHP's extremely buggy realpath().
public truepath ( $path ) : string
리턴 string The resolved path, it might not exist.