Beispiel #1
0
 public function __construct($latitude, $longitude, $req, $add = null)
 {
     parent::__construct(null, $req);
     $this->latitude($latitude);
     $this->longitude($longitude);
 }
 /**
  * @param Sendable $sendable
  * @return SendableProvider
  */
 private static function createProviderForSendable(Sendable $sendable)
 {
     $providerClass = $sendable->getProviderClassName();
     $provider = $providerClass::getProvider();
     return $provider;
 }