This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function getServiceConfig() | |
{ | |
return array( | |
'factories' => array( | |
'SONUser\Mail\Transport' => function($sm) { | |
$config = $sm->get('Config'); | |
$transport = new SmtpTransport(); | |
$options = new SmtpOptions($config['mail']); | |
$transport->setOptions($options); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'translateAdapter' => array ( | |
'parameters' => array ( | |
'options' => array( | |
'locale' => 'pt-br', | |
'content' => '/caminho/para/traducao', | |
'scan' => 'filename', | |
'disableNotices' => true | |
) | |
) | |
), |
NewerOlder