public function initialize(Grid $grid)
    {
        $this->grid = $grid;
        if (method_exists($this, 'initializeComponents')) {
            $this->initializeComponents($grid);
        }
    }
public function initialize(Grid $grid)
    {
        $this->grid = $grid;
        if (method_exists($this, 'initializeComponents')) {
            $this->initializeComponents($grid);
        }
    }
public function initialize ( Grid $ grid ) { $ this -> grid = $ grid ; if ( method_exists ( $ this , 'initializeComponents' ) ) { $ this -> initializeComponents ( $ grid ) ; } }
Initializes component with grid.

@param Grid $grid
@return null
Initializes component with grid .