protected function checkTable(string $table)
    {
        if (! property_exists($this, $table) || ! $this->$table instanceof Table) {
            throw new \InvalidArgumentException("Invalid table name: `{$table}`.");
        }
    }
protected function checkTable(string $table)
    {
        if (! property_exists($this, $table) || ! $this->$table instanceof Table) {
            throw new \InvalidArgumentException("Invalid table name: `{$table}`.");
        }
    }
protected function checkTable ( string $ table ) { if ( ! property_exists ( $ this , $ table ) || ! $ this -> $ table instanceof Table ) { throw new \ InvalidArgumentException ( "Invalid table name: `{$table}`." ) ; } }
Check table for exists

@param string $table
Check table for exists