code: public function getAll() {
      if (is_null($this->intersections)) {
        $this->intersections = [];
        if ($this->arraysSize >= 2) {
          $this->createIntersections();
        }
      }
  
      return $this->intersections;
    }
docs: Get all intersections given the constructor parameters.
  
  @return array