src/SspContact/Service/ContactService.php
public function saveContact(Contact $contactMessage)
    {
        /* @var $mapper \SspContact\Mapper\Contact */
        $mapper = $this->getServiceLocator()->get('contact_mapper');
        $mapper->insert($contactMessage);
    }
public function saveContact(Contact $contactMessage)
    {
        /* @var $mapper \SspContact\Mapper\Contact */
        $mapper = $this->getServiceLocator()->get('contact_mapper');
        $mapper->insert($contactMessage);
    }
public function saveContact ( Contact $ contactMessage ) { /* @var $mapper \SspContact\Mapper\Contact */ $ mapper = $ this -> getServiceLocator ( ) -> get ( 'contact_mapper' ) ; $ mapper -> insert ( $ contactMessage ) ; }
Saves the contact message to the database for later administration
@param Contact $contactMessage
Saves the contact message to the database for later administration