src/Table.php
public function setDataSource(DataSourceInterface $dataSource)
    {
        $this->dataSource = $dataSource;
        $this->dataSource->initialize($this);
    }
public function setDataSource(DataSourceInterface $dataSource)
    {
        $this->dataSource = $dataSource;
        $this->dataSource->initialize($this);
    }
public function setDataSource ( DataSourceInterface $ dataSource ) { $ this -> dataSource = $ dataSource ; $ this -> dataSource -> initialize ( $ this ) ; }
Set Table data source

@param DataSourceInterface $dataSource DataSource object
Set Table data source