Neos\Flow\ObjectManagement\ObjectManagerInterface::forgetInstance PHP 메소드

forgetInstance() 공개 메소드

If run during standard runtime, the whole application might become unstable because certain parts might already use an instance of this object. Therefore this method should only be used in a setUp() method of a functional test case.
public forgetInstance ( string $objectName ) : void
$objectName string The object name
리턴 void
    public function forgetInstance($objectName);