public function import(self $issues)
    {
        foreach ($issues->types() as $type) {
            $source = $issues->messages($type);
            $destination = $this->messages($type);
            foreach ($source as $message) {
                $destination->add($message);
            }
        }
    }
public function import(self $issues)
    {
        foreach ($issues->types() as $type) {
            $source = $issues->messages($type);
            $destination = $this->messages($type);
            foreach ($source as $message) {
                $destination->add($message);
            }
        }
    }
public function import ( self $ issues ) { foreach ( $ issues -> types ( ) as $ type ) { $ source = $ issues -> messages ( $ type ) ; $ destination = $ this -> messages ( $ type ) ; foreach ( $ source as $ message ) { $ destination -> add ( $ message ) ; } } }
Copy all messages from source to this object
@param Issues $issues
@return void
Copy all messages from source to this object