You can write:
$this->repos['notif']->findBy(array('status' => array(1, 2, 3)));
and that should work too.
Related Contents:
- doctrine: QueryBuilder vs createQuery?
- doctrine: setting association with id instead of object instance
- The differences between GeneratedValue strategies
- Doctrine findBy ‘does not equal’
- Auto quote reserved words with Doctrine 2
- Deep clone Doctrine entity with related entities
- Default value in Doctrine
- Doctrine2: Best way to handle many-to-many with extra columns in reference table
- Count Rows in Doctrine QueryBuilder
- How to order results with findBy() in Doctrine
- How to use WHERE IN with Doctrine 2
- What is the difference between inversedBy and mappedBy?
- Why I am suddenly getting a “Typed property must not be accessed before initialization” error when introducing properties type hints?
- Symfony2 and Doctrine – Error: Invalid PathExpression. Must be a StateFieldPathExpression
- Too much data with var_dump in symfony2 doctrine2
- The EntityManager is closed
- How to encode Doctrine entities to JSON in Symfony 2.0 AJAX application?
- Is there a built-in way to get all of the changed/updated fields in a Doctrine 2 entity
- How to use a findBy method with comparative criteria
- How to re-save the entity as another row in Doctrine 2
- Deprecation: Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated
- How to select distinct query using symfony2 doctrine query builder?
- Doctrine Listener versus Subscriber
- Doctrine 2 + unsigned value
- What is the difference between fetch=”EAGER” and fetch=”LAZY” in doctrine
- Doctrine 2 ArrayCollection filter method
- Difference between ObjectManager and EntityManager in Symfony2?
- How can I use now() in Doctrine 2 DQL?
- “usort” a Doctrine\Common\Collections\ArrayCollection?
- Automatic values for updated_at, created_at in Doctrine
- Select entries between dates in doctrine 2
- Doctrine and LIKE query
- How can I add an INDEX with Doctrine 2 to a column without making it a primary key?
- Doctrine 2 Query with LIKE
- Doctrine Entities and business logic in a Symfony application
- Error “1038 Out of sort memory, consider increasing sort buffer size
- Symfony2-Doctrine: ManyToMany relation is not saved to database
- Doctrine2 migrations migrate down and migrate from browser and not command line
- Doctrine 2 – Disallow null value on foreign keys of ManyToOne relationships
- Get table name of entity class
- Symfony getting logged in user’s id
- Symfony2 file upload step by step
- How to limit size of result set in doctrine 2?
- Doctrine 2 Inheritance Mapping with Association
- Doctrine 2.1 – datetime column default value
- Doctrine query builder using inner join with conditions
- Doctrine 2 update from entity
- Doctrine 2 – How to use discriminator column in where clause
- What do you use instead of ENUM in doctrine2?
- Injecting SecurityContext into a Listener prePersist or preUpdate in Symfony2 to get User in a createdBy or updatedBy Causes Circular Reference Error