public function __construct(array $grid) { $this->initContainer(); $this->grid = Grid::fromArray($grid); }