getIndent() public method

Get the code indent
public getIndent ( ) : string
return string
コード例 #1
0
ファイル: CodeTest.php プロジェクト: nicksagona/PopPHP
 public function testSetAndGetIndent()
 {
     $c = new Generator('TestClass.php', Generator::CREATE_CLASS);
     $c->setIndent('    ');
     $this->assertEquals('    ', $c->getIndent());
 }