public function getAllAsSelectList($includeNull = false)
    {
        $models = $this->repository->all();

        return $this->convertToSelectList($includeNull, $models);
    }
public function getAllAsSelectList($includeNull = false)
    {
        $models = $this->repository->all();

        return $this->convertToSelectList($includeNull, $models);
    }
public function getAllAsSelectList ( $ includeNull = false ) { $ models = $ this -> repository -> all ( ) ; return $ this -> convertToSelectList ( $ includeNull , $ models ) ; }
Return all models in the repository as a select list

@param   bool $includeNull
@return array
Return all models in the repository as a select list