Skip to content

Instantly share code, notes, and snippets.

@pepakriz
Created March 15, 2016 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pepakriz/7889b51c858f0bac7ae2 to your computer and use it in GitHub Desktop.
Save pepakriz/7889b51c858f0bac7ae2 to your computer and use it in GitHub Desktop.
<?php declare(strict_types = 1);
namespace Hele\Sms;
use Nette\Http\Url;
class Test
{
const URL = 'https://foo.com';
public function sendMessage()
{
$url = new Url(self::URL);
$url->getAbsoluteUrl();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment