Inheritance: implements Phprest\Service\Serviceable
コード例 #1
0
ファイル: LoggerTest.php プロジェクト: phprest/phprest
 public function testGetter()
 {
     $service = new Service();
     $service->register($this->continer, new Config('anotherLoggerName'));
     $this->assertEquals('anotherLoggerName', $this->serviceLogger()->getName());
 }