public function Command::getNumber in Twilio 8
Get the Twilio Number.
Return value
string The configured Twilio Number.
1 call to Command::getNumber()
- Command::__construct in src/
Services/ Command.php - Initialize properties.
File
- src/
Services/ Command.php, line 59
Class
- Command
- Service class for Twilio API commands.
Namespace
Drupal\twilio\ServicesCode
public function getNumber() {
if (empty($this->number)) {
$this->number = \Drupal::config('twilio.settings')
->get('number');
}
return $this->number;
}