Esempio n. 1
0
 /**
  * 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();
 }
Esempio n. 2
0
 public function testGetName()
 {
     $table = new Table('foo');
     $this->assertEquals('foo', $table->getName());
 }