Swift_SendmailTransport::__construct PHP Method

__construct() public method

Create a new SendmailTransport, optionally using $command for sending.
public __construct ( string $command = '/usr/sbin/sendmail -bs' )
$command string
    public function __construct($command = '/usr/sbin/sendmail -bs')
    {
        call_user_func_array(array($this, 'Swift_Transport_SendmailTransport::__construct'), Swift_DependencyContainer::getInstance()->createDependenciesFor('transport.sendmail'));
        $this->setCommand($command);
    }
Swift_SendmailTransport