private static function logMail($message) { $mailLogger = MailLogger::getInstance(); $mailLogger->addContent($message); }
<?php namespace Adapter; $logger = new MailLogger(); $logger->log('Test', 'Go! Go! Go!');