示例#1
0
文件: LayoutTest.php 项目: rexmac/zf2
 public function testSettingInflectorTargetChangesInflectorSuffix()
 {
     $layout = new Layout\Layout();
     $inflector = $layout->getInflector();
     $target = $inflector->getTarget();
     $this->assertEquals($layout->getInflectorTarget(), $inflector->getTarget());
     $layout->setInflectorTarget('php');
     $this->assertEquals($layout->getInflectorTarget(), $inflector->getTarget());
 }