Skip to content

Instantly share code, notes, and snippets.

@pepakriz
Created March 15, 2016 12:49
Show Gist options
  • 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