src/Mapper/Relation/HasMany.php
protected function checkConditions(Sql\Select $query)
    {
        if (null != $this->conditions) {
            $query->andWhere($this->conditions);
        }
        return $this;
    }
protected function checkConditions(Sql\Select $query)
    {
        if (null != $this->conditions) {
            $query->andWhere($this->conditions);
        }
        return $this;
    }
protected function checkConditions ( Sql \ Select $ query ) { if ( null != $ this -> conditions ) { $ query -> andWhere ( $ this -> conditions ) ; } return $ this ; }
Check custom conditions

@param Sql\Select $query

@return self
Check custom conditions