public function getProfileSettings($profile)
    {
        $search = $this->repo->createSearch();
        $termQuery = new TermQuery('profile', $profile);
        $search->addQuery($termQuery);
        $search->setSize(1000);

        $settings = $this->repo->findArray($search);

        return $settings;
    }
public function getProfileSettings($profile)
    {
        $search = $this->repo->createSearch();
        $termQuery = new TermQuery('profile', $profile);
        $search->addQuery($termQuery);
        $search->setSize(1000);

        $settings = $this->repo->findArray($search);

        return $settings;
    }
public function getProfileSettings ( $ profile ) { $ search = $ this -> repo -> createSearch ( ) ; $ termQuery = new TermQuery ( 'profile' , $ profile ) ; $ search -> addQuery ( $ termQuery ) ; $ search -> setSize ( 1000 ) ; $ settings = $ this -> repo -> findArray ( $ search ) ; return $ settings ; }
Returns profiles settings array

@param string $profile

@return array
Returns profiles settings array