Return the parent response or NULL if none exists.
public getParentResponse ( ) : |
||
리턴 | the parent response, or NULL if none |
/** * @test */ public function getParentResponseReturnsResponseSetInConstructor() { $parentResponse = new Response(); $response = new Response($parentResponse); $this->assertSame($parentResponse, $response->getParentResponse()); }