code: protected function getStructure() : ?Structure
      {
          if (!$this->structure && $this->structureId)
          {
              $this->structure = $this->structureRepository->findOneById($this->structureId);
          }
  
          return $this->structure;
      }
docs: Optimalizace SQL
  @return Structure|NULL