PHP 클래스 Phalcon\Test\Unit\DiTest

저자: Andres Gutierrez ([email protected])
저자: Serghei Iakovlev ([email protected])
파일 보기 프로젝트 열기: phalcon/cphalcon

보호된 프로퍼티들

프로퍼티 타입 설명
$phDi Phalcon\Test\Proxy\Di

공개 메소드들

메소드 설명
testAttempt ( ) Tests registering a service in the services container via Di::attempt
testComplexInjection ( ) Tests resolving a services via array access
testGetRawService ( ) Tests getting raw services
testGetServices ( ) Tests getting services
testGetShared ( ) Tests resolving shared service
testGettingDiViaGetDefault ( ) Tests the latest DI created
testGettingNonExistentService ( ) Tests getting non-existent service
testHas ( ) Tests check a service in the services container via Di::has
testMagicGetCall ( ) Tests resolving service via magic __get
testMagicSetCall ( ) Tests registering a service via magic __set
testRegisteringViaArrayAccess ( ) Tests registering a services via array access
testResolvingViaArrayAccess ( ) Tests resolving a services via array access
testSetAnonymousFunction ( ) Tests registering a service via anonymous function
testSetArray ( ) Tests registering a service via array
testSetParameters ( ) Tests registering a service with parameters
testSetString ( ) Tests registering a service via string

보호된 메소드들

메소드 설명
_before ( ) executed before each test

메소드 상세

_before() 보호된 메소드

executed before each test
protected _before ( )

testAttempt() 공개 메소드

Tests registering a service in the services container via Di::attempt
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])
public testAttempt ( )

testComplexInjection() 공개 메소드

Tests resolving a services via array access
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])

testGetRawService() 공개 메소드

Tests getting raw services
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])
public testGetRawService ( )

testGetServices() 공개 메소드

Tests getting services
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])
public testGetServices ( )

testGetShared() 공개 메소드

Tests resolving shared service
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])
public testGetShared ( )

testGettingDiViaGetDefault() 공개 메소드

Tests the latest DI created
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])

testGettingNonExistentService() 공개 메소드

Tests getting non-existent service
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])

testHas() 공개 메소드

Tests check a service in the services container via Di::has
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])
public testHas ( )

testMagicGetCall() 공개 메소드

Tests resolving service via magic __get
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])
public testMagicGetCall ( )

testMagicSetCall() 공개 메소드

Tests registering a service via magic __set
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])
public testMagicSetCall ( )

testRegisteringViaArrayAccess() 공개 메소드

Tests registering a services via array access
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])

testResolvingViaArrayAccess() 공개 메소드

Tests resolving a services via array access
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])

testSetAnonymousFunction() 공개 메소드

Tests registering a service via anonymous function
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])

testSetArray() 공개 메소드

Tests registering a service via array
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])
public testSetArray ( )

testSetParameters() 공개 메소드

Tests registering a service with parameters
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])
public testSetParameters ( )

testSetString() 공개 메소드

Tests registering a service via string
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])
public testSetString ( )

프로퍼티 상세

$phDi 보호되어 있는 프로퍼티

protected Di,Phalcon\Test\Proxy $phDi
리턴 Phalcon\Test\Proxy\Di