Chris@14: , Sebastian Heuer , Sebastian Bergmann Chris@14: * Chris@14: * For the full copyright and license information, please view the LICENSE Chris@14: * file that was distributed with this source code. Chris@14: */ Chris@14: Chris@14: namespace PharIo\Manifest; Chris@14: Chris@14: class License { Chris@14: /** Chris@14: * @var string Chris@14: */ Chris@14: private $name; Chris@14: Chris@14: /** Chris@14: * @var Url Chris@14: */ Chris@14: private $url; Chris@14: Chris@14: public function __construct($name, Url $url) { Chris@14: $this->name = $name; Chris@14: $this->url = $url; Chris@14: } Chris@14: Chris@14: /** Chris@14: * @return string Chris@14: */ Chris@14: public function getName() { Chris@14: return $this->name; Chris@14: } Chris@14: Chris@14: /** Chris@14: * @return Url Chris@14: */ Chris@14: public function getUrl() { Chris@14: return $this->url; Chris@14: } Chris@14: }