Example #1
0
 /**
  * Sets the FROM parameter for the provider
  *
  * @return int
  */
 public function from()
 {
     // Get provider phone (FROM)
     // Replace non-numeric
     return preg_replace('/\\D+/', "", parent::from());
 }
Example #2
0
 /**
  * Sets the FROM parameter for the provider
  *
  * @return int
  */
 public function from()
 {
     // Get provider phone (FROM)
     // Replace non-numeric
     return preg_replace("/[^0-9,.]/", "", parent::from());
 }