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