original_string: public function filterByCustomerCustomerGroup($customerCustomerGroup, $comparison = null)
      {
          if ($customerCustomerGroup instanceof \CustomerGroup\Model\CustomerCustomerGroup) {
              return $this
                  ->addUsingAlias(CustomerGroupTableMap::ID, $customerCustomerGroup->getCustomerGroupId(), $comparison);
          } elseif ($customerCustomerGroup instanceof ObjectCollection) {
              return $this
                  ->useCustomerCustomerGroupQuery()
                  ->filterByPrimaryKeys($customerCustomerGroup->getPrimaryKeys())
                  ->endUse();
          } else {
              throw new PropelException('filterByCustomerCustomerGroup() only accepts arguments of type \CustomerGroup\Model\CustomerCustomerGroup or Collection');
          }
      }
code: public function filterByCustomerCustomerGroup($customerCustomerGroup, $comparison = null)
      {
          if ($customerCustomerGroup instanceof \CustomerGroup\Model\CustomerCustomerGroup) {
              return $this
                  ->addUsingAlias(CustomerGroupTableMap::ID, $customerCustomerGroup->getCustomerGroupId(), $comparison);
          } elseif ($customerCustomerGroup instanceof ObjectCollection) {
              return $this
                  ->useCustomerCustomerGroupQuery()
                  ->filterByPrimaryKeys($customerCustomerGroup->getPrimaryKeys())
                  ->endUse();
          } else {
              throw new PropelException('filterByCustomerCustomerGroup() only accepts arguments of type \CustomerGroup\Model\CustomerCustomerGroup or Collection');
          }
      }
code_tokens: public function filterByCustomerCustomerGroup ( $ customerCustomerGroup , $ comparison = null ) { if ( $ customerCustomerGroup instanceof \ CustomerGroup \ Model \ CustomerCustomerGroup ) { return $ this -> addUsingAlias ( CustomerGroupTableMap :: ID , $ customerCustomerGroup -> getCustomerGroupId ( ) , $ comparison ) ; } elseif ( $ customerCustomerGroup instanceof ObjectCollection ) { return $ this -> useCustomerCustomerGroupQuery ( ) -> filterByPrimaryKeys ( $ customerCustomerGroup -> getPrimaryKeys ( ) ) -> endUse ( ) ; } else { throw new PropelException ( 'filterByCustomerCustomerGroup() only accepts arguments of type \CustomerGroup\Model\CustomerCustomerGroup or Collection' ) ; } }
docstring: Filter the query by a related \CustomerGroup\Model\CustomerCustomerGroup object
  
  @param \CustomerGroup\Model\CustomerCustomerGroup|ObjectCollection $customerCustomerGroup  the related object to use as filter
  @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  
  @return ChildCustomerGroupQuery The current query, for fluid interface
docstring_tokens: Filter the query by a related \ CustomerGroup \ Model \ CustomerCustomerGroup object