public function clear() { $this->matrix = new \SplFixedArray($this->size); $this->colors = new \SplFixedArray($this->csize); }