\Pimple\TestsPimpleTest

Summary

Methods
Properties
Constants
testWithString()
testWithClosure()
testServicesShouldBeDifferent()
testShouldPassContainerAsParameter()
testIsset()
testConstructorInjection()
testOffsetGetValidatesKeyIsPresent()
testLegacyOffsetGetValidatesKeyIsPresent()
testOffsetGetHonorsNullValues()
testUnset()
testShare()
testProtect()
testGlobalFunctionNameAsParameterValue()
testRaw()
testRawHonorsNullValues()
testFluentRegister()
testRawValidatesKeyIsPresent()
testLegacyRawValidatesKeyIsPresent()
testExtend()
testExtendDoesNotLeakWithFactories()
testExtendValidatesKeyIsPresent()
testLegacyExtendValidatesKeyIsPresent()
testKeys()
settingAnInvokableObjectShouldTreatItAsFactory()
settingNonInvokableObjectShouldTreatItAsParameter()
testFactoryFailsForInvalidServiceDefinitions()
testLegacyFactoryFailsForInvalidServiceDefinitions()
testProtectFailsForInvalidServiceDefinitions()
testLegacyProtectFailsForInvalidServiceDefinitions()
testExtendFailsForKeysNotContainingServiceDefinitions()
testLegacyExtendFailsForKeysNotContainingServiceDefinitions()
testExtendingProtectedClosureDeprecation()
testExtendFailsForInvalidServiceDefinitions()
testLegacyExtendFailsForInvalidServiceDefinitions()
testExtendFailsIfFrozenServiceIsNonInvokable()
testExtendFailsIfFrozenServiceIsInvokable()
badServiceDefinitionProvider()
serviceDefinitionProvider()
testDefiningNewServiceAfterFreeze()
testOverridingServiceAfterFreeze()
testLegacyOverridingServiceAfterFreeze()
testRemovingServiceAfterFreeze()
testExtendingService()
testExtendingServiceAfterOtherServiceFreeze()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

testWithString()

testWithString() : mixed

Returns

mixed —

testWithClosure()

testWithClosure() : mixed

Returns

mixed —

testServicesShouldBeDifferent()

testServicesShouldBeDifferent() : mixed

Returns

mixed —

testShouldPassContainerAsParameter()

testShouldPassContainerAsParameter() : mixed

Returns

mixed —

testIsset()

testIsset() : mixed

Returns

mixed —

testConstructorInjection()

testConstructorInjection() : mixed

Returns

mixed —

testOffsetGetValidatesKeyIsPresent()

testOffsetGetValidatesKeyIsPresent() : mixed

Returns

mixed —

testLegacyOffsetGetValidatesKeyIsPresent()

testLegacyOffsetGetValidatesKeyIsPresent() : mixed

Returns

mixed —

testOffsetGetHonorsNullValues()

testOffsetGetHonorsNullValues() : mixed

Returns

mixed —

testUnset()

testUnset() : mixed

Returns

mixed —

testShare()

testShare(mixed  $service) : mixed

Parameters

mixed $service

Returns

mixed —

testProtect()

testProtect(mixed  $service) : mixed

Parameters

mixed $service

Returns

mixed —

testGlobalFunctionNameAsParameterValue()

testGlobalFunctionNameAsParameterValue() : mixed

Returns

mixed —

testRaw()

testRaw() : mixed

Returns

mixed —

testRawHonorsNullValues()

testRawHonorsNullValues() : mixed

Returns

mixed —

testFluentRegister()

testFluentRegister() : mixed

Returns

mixed —

testRawValidatesKeyIsPresent()

testRawValidatesKeyIsPresent() : mixed

Returns

mixed —

testLegacyRawValidatesKeyIsPresent()

testLegacyRawValidatesKeyIsPresent() : mixed

Returns

mixed —

testExtend()

testExtend(mixed  $service) : mixed

Parameters

mixed $service

Returns

mixed —

testExtendDoesNotLeakWithFactories()

testExtendDoesNotLeakWithFactories() : mixed

Returns

mixed —

testExtendValidatesKeyIsPresent()

testExtendValidatesKeyIsPresent() : mixed

Returns

mixed —

testLegacyExtendValidatesKeyIsPresent()

testLegacyExtendValidatesKeyIsPresent() : mixed

Returns

mixed —

testKeys()

testKeys() : mixed

Returns

mixed —

settingAnInvokableObjectShouldTreatItAsFactory()

settingAnInvokableObjectShouldTreatItAsFactory() : mixed

Returns

mixed —

settingNonInvokableObjectShouldTreatItAsParameter()

settingNonInvokableObjectShouldTreatItAsParameter() : mixed

Returns

mixed —

testFactoryFailsForInvalidServiceDefinitions()

testFactoryFailsForInvalidServiceDefinitions(mixed  $service) : mixed

Parameters

mixed $service

Returns

mixed —

testLegacyFactoryFailsForInvalidServiceDefinitions()

testLegacyFactoryFailsForInvalidServiceDefinitions(mixed  $service) : mixed

Parameters

mixed $service

Returns

mixed —

testProtectFailsForInvalidServiceDefinitions()

testProtectFailsForInvalidServiceDefinitions(mixed  $service) : mixed

Parameters

mixed $service

Returns

mixed —

testLegacyProtectFailsForInvalidServiceDefinitions()

testLegacyProtectFailsForInvalidServiceDefinitions(mixed  $service) : mixed

Parameters

mixed $service

Returns

mixed —

testExtendFailsForKeysNotContainingServiceDefinitions()

testExtendFailsForKeysNotContainingServiceDefinitions(mixed  $service) : mixed

Parameters

mixed $service

Returns

mixed —

testLegacyExtendFailsForKeysNotContainingServiceDefinitions()

testLegacyExtendFailsForKeysNotContainingServiceDefinitions(mixed  $service) : mixed

Parameters

mixed $service

Returns

mixed —

testExtendingProtectedClosureDeprecation()

testExtendingProtectedClosureDeprecation() : mixed

Returns

mixed —

testExtendFailsForInvalidServiceDefinitions()

testExtendFailsForInvalidServiceDefinitions(mixed  $service) : mixed

Parameters

mixed $service

Returns

mixed —

testLegacyExtendFailsForInvalidServiceDefinitions()

testLegacyExtendFailsForInvalidServiceDefinitions(mixed  $service) : mixed

Parameters

mixed $service

Returns

mixed —

testExtendFailsIfFrozenServiceIsNonInvokable()

testExtendFailsIfFrozenServiceIsNonInvokable() : mixed

Returns

mixed —

testExtendFailsIfFrozenServiceIsInvokable()

testExtendFailsIfFrozenServiceIsInvokable() : mixed

Returns

mixed —

badServiceDefinitionProvider()

badServiceDefinitionProvider() : mixed

Provider for invalid service definitions.

Returns

mixed —

serviceDefinitionProvider()

serviceDefinitionProvider() : mixed

Provider for service definitions.

Returns

mixed —

testDefiningNewServiceAfterFreeze()

testDefiningNewServiceAfterFreeze() : mixed

Returns

mixed —

testOverridingServiceAfterFreeze()

testOverridingServiceAfterFreeze() : mixed

Returns

mixed —

testLegacyOverridingServiceAfterFreeze()

testLegacyOverridingServiceAfterFreeze() : mixed

Returns

mixed —

testRemovingServiceAfterFreeze()

testRemovingServiceAfterFreeze() : mixed

Returns

mixed —

testExtendingService()

testExtendingService() : mixed

Returns

mixed —

testExtendingServiceAfterOtherServiceFreeze()

testExtendingServiceAfterOtherServiceFreeze() : mixed

Returns

mixed —