public function table($table = null)
    {
        deprecationWarning(
            get_called_class() . '::table() is deprecated. ' .
            'Use setTable()/getTable() instead.'
        );
        if ($table !== null) {
            $this->setTable($table);
        }

        return $this->getTable();
    }
public function table($table = null)
    {
        deprecationWarning(
            get_called_class() . '::table() is deprecated. ' .
            'Use setTable()/getTable() instead.'
        );
        if ($table !== null) {
            $this->setTable($table);
        }

        return $this->getTable();
    }
public function table ( $ table = null ) { deprecationWarning ( get_called_class ( ) . '::table() is deprecated. ' . 'Use setTable()/getTable() instead.' ) ; if ( $ table !== null ) { $ this -> setTable ( $ table ) ; } return $ this -> getTable ( ) ; }
Returns the database table name or sets a new one.

@deprecated 3.4.0 Use setTable()/getTable() instead.
@param string|null $table the new table name
@return string
Returns the database table name or sets a new one .