public function copy(Domain $domain)
    {
        $this->defaultValue = $domain->getDefaultValue();
        $this->description = $domain->getDescription();
        $this->name = $domain->getName();
        $this->scale = $domain->getScale();
        $this->size = $domain->getSize();
        $this->sqlType = $domain->getSqlType();
        $this->propelType = $domain->getType();
    }
public function copy(Domain $domain)
    {
        $this->defaultValue = $domain->getDefaultValue();
        $this->description = $domain->getDescription();
        $this->name = $domain->getName();
        $this->scale = $domain->getScale();
        $this->size = $domain->getSize();
        $this->sqlType = $domain->getSqlType();
        $this->propelType = $domain->getType();
    }
public function copy ( Domain $ domain ) { $ this -> defaultValue = $ domain -> getDefaultValue ( ) ; $ this -> description = $ domain -> getDescription ( ) ; $ this -> name = $ domain -> getName ( ) ; $ this -> scale = $ domain -> getScale ( ) ; $ this -> size = $ domain -> getSize ( ) ; $ this -> sqlType = $ domain -> getSqlType ( ) ; $ this -> propelType = $ domain -> getType ( ) ; }
Copy the values from current object into passed-in Domain.

@param Domain $domain Domain to copy values into.
Copy the values from current object into passed - in Domain .