PHP 클래스 Symfony\Component\DependencyInjection\Alias

파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $id, boolean $public = true ) Constructor.
__toString ( ) : string Returns the Id of this alias.
isPublic ( ) : boolean Checks if this DI Alias should be public or not.
setPublic ( boolean $boolean ) Sets if this Alias is public.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $id, boolean $public = true )
$id string Alias identifier
$public boolean If this alias is public

__toString() 공개 메소드

Returns the Id of this alias.
public __toString ( ) : string
리턴 string The alias id

isPublic() 공개 메소드

Checks if this DI Alias should be public or not.
public isPublic ( ) : boolean
리턴 boolean

setPublic() 공개 메소드

Sets if this Alias is public.
public setPublic ( boolean $boolean )
$boolean boolean If this Alias should be public