PHP 클래스 AcMailer\Controller\Plugin\Factory\SendMailPluginAbstractFactory

저자: Alejandro Celaya Alastrué
상속: extends AcMailer\Factory\AbstractAcMailerFactory
파일 보기 프로젝트 열기: acelaya/zf2-acmailer 1 사용 예제들

공개 메소드들

메소드 설명
__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

보호된 메소드들

메소드 설명
camelCaseToUnderscore ( $value )
getSpecificServiceName ( $requestedName ) : string Fetches a mail service name from the requested plugin name.

메소드 상세

__invoke() 공개 메소드

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

camelCaseToUnderscore() 보호된 메소드

protected camelCaseToUnderscore ( $value )

canCreate() 공개 메소드

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

getSpecificServiceName() 보호된 메소드

sendMailCustomers -> customers sendMail -> default
protected getSpecificServiceName ( $requestedName ) : string
$requestedName
리턴 string