/** * Freezes the given $mock and notifies the given $client * * @param Phake_IMock $mock * @param Phake_Client_IClient $client */ public function freeze(Phake_IMock $mock, Phake_Client_IClient $client) { $client->processObjectFreeze(); $this->mockReader->setIsObjectFrozen($mock, true); }
/** * Freezes the given $mock and notifies the given $client * * @param Phake_Mock_Info $mockInfo * @param Phake_Client_IClient $client */ public function freeze(Phake_Mock_Info $mockInfo, Phake_Client_IClient $client) { $client->processObjectFreeze(); $mockInfo->freezeObject(); }