src/Alchemy/Component/Cerberus/Model/Base/RoleQuery.php
public function filterByUser($user, $comparison = Criteria::EQUAL)
    {
        return $this
            ->useUserRoleQuery()
            ->filterByUser($user, $comparison)
            ->endUse();
    }
public function filterByUser($user, $comparison = Criteria::EQUAL)
    {
        return $this
            ->useUserRoleQuery()
            ->filterByUser($user, $comparison)
            ->endUse();
    }
public function filterByUser ( $ user , $ comparison = Criteria :: EQUAL ) { return $ this -> useUserRoleQuery ( ) -> filterByUser ( $ user , $ comparison ) -> endUse ( ) ; }
Filter the query by a related User object
using the user_role table as cross reference

@param User $user the related object to use as filter
@param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return ChildRoleQuery The current query, for fluid interface
Filter the query by a related User object using the user_role table as cross reference