PHP 클래스 Symfony\Component\DependencyInjection\Loader\YamlFileLoader

The YAML format does not support anonymous services (cf. the XML loader).
저자: Fabien Potencier ([email protected])
상속: extends Symfony\Component\DependencyInjection\Loader\FileLoader
파일 보기 프로젝트 열기: symfony/symfony 1 사용 예제들

공개 메소드들

메소드 설명
load ( $resource, $type = null )
supports ( $resource, $type = null )

보호된 메소드들

메소드 설명
loadFile ( string $file ) : array Loads a YAML file.

비공개 메소드들

메소드 설명
checkDefinition ( string $id, array $definition, string $file ) Checks the keywords used to define a service.
loadFromExtensions ( array $content ) Loads from Extensions.
parseCallable ( string | array $callable, string $parameter, string $id, string $file ) : string | array Parses a callable.
parseDefinition ( string $id, array $service, string $file ) Parses a definition.
parseDefinitions ( array $content, string $file ) Parses definitions.
parseImports ( array $content, string $file ) Parses all imports.
resolveServices ( string | array $value ) : array | string | Reference Resolves services.
validate ( mixed $content, string $file ) : array Validates a YAML file.

메소드 상세

load() 공개 메소드

public load ( $resource, $type = null )

loadFile() 보호된 메소드

Loads a YAML file.
protected loadFile ( string $file ) : array
$file string
리턴 array The file content

supports() 공개 메소드

public supports ( $resource, $type = null )