Inpsyde\MultilingualPress\API\WPDBSiteRelations::__construct PHP Method

__construct() public method

Constructor. Sets up the properties.
Since: 3.0.0
public __construct ( Inpsyde\MultilingualPress\Database\Table $table )
$table Inpsyde\MultilingualPress\Database\Table Site relations table object.
    public function __construct(Table $table)
    {
        $this->table = $table->name();
        $this->db = $GLOBALS['wpdb'];
    }