PHP Class Pimcore\Console\Command\InternalNewsletterDocumentSendCommand

Inheritance: extends Pimcore\Console\AbstractCommand
Show file Open project: pimcore/pimcore

Protected Methods

Method Description
configure ( )
doSendMailInBatchMode ( Newsletter $document, Pimcore\Document\Newsletter\AddressSourceAdapterInterface $addressAdapter, $sendingId )
doSendMailInSingleMode ( Newsletter $document, Pimcore\Document\Newsletter\AddressSourceAdapterInterface $addressAdapter, $sendingId )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Method Details

configure() protected method

protected configure ( )

doSendMailInBatchMode() protected method

protected doSendMailInBatchMode ( Newsletter $document, Pimcore\Document\Newsletter\AddressSourceAdapterInterface $addressAdapter, $sendingId )
$document Pimcore\Model\Document\Newsletter
$addressAdapter Pimcore\Document\Newsletter\AddressSourceAdapterInterface

doSendMailInSingleMode() protected method

protected doSendMailInSingleMode ( Newsletter $document, Pimcore\Document\Newsletter\AddressSourceAdapterInterface $addressAdapter, $sendingId )
$document Pimcore\Model\Document\Newsletter
$addressAdapter Pimcore\Document\Newsletter\AddressSourceAdapterInterface

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface