src/PortaText/Command/Api/Settings.php
public function publishEventsToSns($key, $secret, $topicArn)
    {
        $this->setArgument("sns_publish_enabled", true);
        $this->setArgument("sns_access_key", $key);
        $this->setArgument("sns_access_secret", $secret);
        return $this->setArgument("sns_topic", $topicArn);
    }
public function publishEventsToSns($key, $secret, $topicArn)
    {
        $this->setArgument("sns_publish_enabled", true);
        $this->setArgument("sns_access_key", $key);
        $this->setArgument("sns_access_secret", $secret);
        return $this->setArgument("sns_topic", $topicArn);
    }
public function publishEventsToSns ( $ key , $ secret , $ topicArn ) { $ this -> setArgument ( "sns_publish_enabled" , true ) ; $ this -> setArgument ( "sns_access_key" , $ key ) ; $ this -> setArgument ( "sns_access_secret" , $ secret ) ; return $ this -> setArgument ( "sns_topic" , $ topicArn ) ; }
Enables publishing of events to an SNS topic.

@param string $key Amazon AWS access key.
@param string $secret Amazon AWS access secret.
@param string $topicArn SNS Topic ARN.

@return PortaText\Command\ICommand
Enables publishing of events to an SNS topic .