You are here

public function Command::getSid in Twilio 8

Get the Twilio Account SID.

Return value

string The configured Twilio Account SID.

1 call to Command::getSid()
Command::__construct in src/Services/Command.php
Initialize properties.

File

src/Services/Command.php, line 33

Class

Command
Service class for Twilio API commands.

Namespace

Drupal\twilio\Services

Code

public function getSid() {
  if (empty($this->sid)) {
    $this->sid = \Drupal::config('twilio.settings')
      ->get('account');
  }
  return $this->sid;
}