PHP Class AcMailer\Controller\Plugin\Factory\SendMailPluginAbstractFactory

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

Méthodes publiques

Méthode Description
__invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : object Create an object
canCreate ( Interop\Container\ContainerInterface $container, $requestedName ) : boolean Determine if we can create a service with name

Méthodes protégées

Méthode Description
camelCaseToUnderscore ( $value )
getSpecificServiceName ( $requestedName ) : string Fetches a mail service name from the requested plugin name.

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

camelCaseToUnderscore() protected méthode

protected camelCaseToUnderscore ( $value )

canCreate() public méthode

Determine if we can create a service with name
public canCreate ( Interop\Container\ContainerInterface $container, $requestedName ) : boolean
$container Interop\Container\ContainerInterface
$requestedName
Résultat boolean

getSpecificServiceName() protected méthode

sendMailCustomers -> customers sendMail -> default
protected getSpecificServiceName ( $requestedName ) : string
$requestedName
Résultat string