Interface CrossCuttingLoaderInterface

Interface CrossCuttingLoaderInterface

Direct known implementers

CrossCuttingLoader

Methods summary

public getObject( string $p_classname ) : object

In strict mode ($strictModeEnabled=true) this method accepts classes with implemented CrossCuttingObjectInterface only. Otherwise it throws an InvalidArgumentException.

public setRegisteredObjectsOnly( boolean $bool_status )

If RegisteredObjectsOnly is enabled, the loader returns only objects, that were registered by the registerObject method before. RegisteredObjectsOnly should be enabled in all unit tests.

public useRegisteredObjectsOnly( void ) : boolean
public registerObject( string $p_classname, object $object )

In strict mode ($strictModeEnabled=true) this method accepts classes with implemented CrossCuttingObjectInterface only. Otherwise it throws an InvalidArgumentException.

public clearRegister( void ) :