예제 #1
0
 public function testEndPoint()
 {
     $request = $this->createRequest();
     $this->assertNull($request->getEndPoint());
     $this->assertSame($request, $request->setEndPoint('endPoint'));
     $this->assertEquals('endPoint', $request->getEndPoint());
     $request = new Request('', '', '', '', 'endPointBis');
     $this->assertSame('endPointBis', $request->getEndPoint());
 }
예제 #2
0
 /**
  * Get the request logger
  *
  * @return LoggerInterface
  */
 public function getLogger()
 {
     return $this->request->getLogger();
 }