original_string: public function addCustomer(ChildCustomer $customer)
      {
          if ($this->collCustomers === null) {
              $this->initCustomers();
          }
  
          if (!$this->collCustomers->contains($customer)) { // only add it if the **same** object is not already associated
              $this->doAddCustomer($customer);
              $this->collCustomers[] = $customer;
          }
  
          return $this;
      }
code: public function addCustomer(ChildCustomer $customer)
      {
          if ($this->collCustomers === null) {
              $this->initCustomers();
          }
  
          if (!$this->collCustomers->contains($customer)) { // only add it if the **same** object is not already associated
              $this->doAddCustomer($customer);
              $this->collCustomers[] = $customer;
          }
  
          return $this;
      }
code_tokens: public function addCustomer ( ChildCustomer $ customer ) { if ( $ this -> collCustomers === null ) { $ this -> initCustomers ( ) ; } if ( ! $ this -> collCustomers -> contains ( $ customer ) ) { // only add it if the **same** object is not already associated $ this -> doAddCustomer ( $ customer ) ; $ this -> collCustomers [ ] = $ customer ; } return $ this ; }
docstring: Associate a ChildCustomer object to this object
  through the customer_customer_group cross reference table.
  
  @param  ChildCustomer $customer The ChildCustomerCustomerGroup object to relate
  @return ChildCustomerGroup The current object (for fluent API support)
docstring_tokens: Associate a ChildCustomer object to this object through the customer_customer_group cross reference table .