public function findAllTreeItems($publishedOnly = false)
    {
        $filter = $publishedOnly ? ['published' => true] : [];
        return $this->repository->findBy($filter, ['lft' => 'ASC']);
    }