예제 #1
0
파일: Info.php 프로젝트: czogori/rentgen
 /**
  * Get table information.
  *
  * @param Table $table Table instance.
  *
  * @return Table Table instance.
  */
 public function getTable(Table $table)
 {
     return $this->container->get('rentgen.get_table')->setTableName($table->getName())->execute();
 }
예제 #2
0
 public function testGetName()
 {
     $table = new Table('foo');
     $this->assertEquals('foo', $table->getName());
 }