PHP Class AcMailer\Service\Factory\MailServiceAbstractFactory

Inheritance: extends AcMailer\Factory\AbstractAcMailerFactory
Afficher le fichier Open project: acelaya/zf2-acmailer Class Usage Examples

Protected Properties

Свойство Type Description
$mailOptions AcMailer\Options\MailOptions

Méthodes publiques

Méthode Description
__invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : object Create an object

Méthodes protégées

Méthode Description
attachMailListeners ( AcMailer\Event\MailListenerAwareInterface $service, Interop\Container\ContainerInterface $container ) Attaches the preconfigured mail listeners to the mail service
createHelperPluginManager ( Interop\Container\ContainerInterface $container ) : Zend\View\HelperPluginManager Creates a view helper manager
createMessage ( ) : Zend\Mail\Message
createRenderer ( Interop\Container\ContainerInterface $container ) : Zend\View\Renderer\RendererInterface
createTransport ( Interop\Container\ContainerInterface $container ) : Zend\Mail\Transport\TransportInterface
getSpecificConfig ( Interop\Container\ContainerInterface $container, $configKey ) : array Returns a specific configuration defined by provided key
setupTransportConfig ( Zend\Mail\Transport\TransportInterface $transport ) : Zend\Mail\Transport\TransportInterface

Method Details

__invoke() public méthode

Create an object
public __invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : object
$container Interop\Container\ContainerInterface
$requestedName string
$options array
Résultat object

attachMailListeners() protected méthode

Attaches the preconfigured mail listeners to the mail service
protected attachMailListeners ( AcMailer\Event\MailListenerAwareInterface $service, Interop\Container\ContainerInterface $container )
$service AcMailer\Event\MailListenerAwareInterface
$container Interop\Container\ContainerInterface

createHelperPluginManager() protected méthode

Creates a view helper manager
protected createHelperPluginManager ( Interop\Container\ContainerInterface $container ) : Zend\View\HelperPluginManager
$container Interop\Container\ContainerInterface
Résultat Zend\View\HelperPluginManager

createMessage() protected méthode

protected createMessage ( ) : Zend\Mail\Message
Résultat Zend\Mail\Message

createRenderer() protected méthode

protected createRenderer ( Interop\Container\ContainerInterface $container ) : Zend\View\Renderer\RendererInterface
$container Interop\Container\ContainerInterface
Résultat Zend\View\Renderer\RendererInterface

createTransport() protected méthode

protected createTransport ( Interop\Container\ContainerInterface $container ) : Zend\Mail\Transport\TransportInterface
$container Interop\Container\ContainerInterface
Résultat Zend\Mail\Transport\TransportInterface

getSpecificConfig() protected méthode

Returns a specific configuration defined by provided key
protected getSpecificConfig ( Interop\Container\ContainerInterface $container, $configKey ) : array
$container Interop\Container\ContainerInterface
$configKey
Résultat array

setupTransportConfig() protected méthode

protected setupTransportConfig ( Zend\Mail\Transport\TransportInterface $transport ) : Zend\Mail\Transport\TransportInterface
$transport Zend\Mail\Transport\TransportInterface
Résultat Zend\Mail\Transport\TransportInterface

Property Details

$mailOptions protected_oe property

protected MailOptions,AcMailer\Options $mailOptions
Résultat AcMailer\Options\MailOptions