public function findIndexable()
    {
        return $this->createQueryBuilder('c')
            ->where('c.indexable = :indexable')
            ->Andwhere('c.active = :active')
            ->Andwhere('c.layout = :layout')
            ->setParameters([
                'active' => true,
                'layout' => false,
                'indexable' => true
            ])
            ->orderBy('c.slug', 'ASC')
            ->getQuery()
            ->getResult();
    }
public function findIndexable()
    {
        return $this->createQueryBuilder('c')
            ->where('c.indexable = :indexable')
            ->Andwhere('c.active = :active')
            ->Andwhere('c.layout = :layout')
            ->setParameters([
                'active' => true,
                'layout' => false,
                'indexable' => true
            ])
            ->orderBy('c.slug', 'ASC')
            ->getQuery()
            ->getResult();
    }
public function findIndexable ( ) { return $ this -> createQueryBuilder ( 'c' ) -> where ( 'c.indexable = :indexable' ) -> Andwhere ( 'c.active = :active' ) -> Andwhere ( 'c.layout = :layout' ) -> setParameters ( [ 'active' => true , 'layout' => false , 'indexable' => true ] ) -> orderBy ( 'c.slug' , 'ASC' ) -> getQuery ( ) -> getResult ( ) ; }
Find all active and addressable content items.

@return ArrayCollection|array
Find all active and addressable content items .