Bundle/BlogBundle/Repository/ArticleRepository.php
public function run($method = 'getResult', $hydrationMode = Query::HYDRATE_OBJECT)
    {
        return $this->getInstance()->getQuery()->$method($hydrationMode);
    }
public function run($method = 'getResult', $hydrationMode = Query::HYDRATE_OBJECT)
    {
        return $this->getInstance()->getQuery()->$method($hydrationMode);
    }
public function run ( $ method = 'getResult' , $ hydrationMode = Query :: HYDRATE_OBJECT ) { return $ this -> getInstance ( ) -> getQuery ( ) -> $ method ( $ hydrationMode ) ; }
Get very next festivals query builder.

@param method        $method        The method to run
@param hydrationMode $hydrationMode How the results will be (Object ? Array )

@return array()
Get very next festivals query builder .