Pop\Data\Data::getTable PHP Method

getTable() public method

Get the table name
public getTable ( ) : string
return string
    public function getTable()
    {
        return $this->table;
    }

Usage Example

Ejemplo n.º 1
0
 public function testSetAndGetTable()
 {
     $d = new Data(__DIR__ . '/../tmp/test.sql');
     $d->setTable('users');
     $this->assertEquals('users', $d->getTable());
 }