*/ public function findAllOrderedByPath(): array { return $this->createQueryBuilder('f') ->orderBy('f.path', 'ASC') ->getQuery() ->getResult() ; } public function findByPath(string $path): ?MailFolder { return $this->findOneBy(['path' => $path]); } }