<?php
namespace Packagist\Api\Result\Package;
use Packagist\Api\Result\AbstractResult;
class Source extends AbstractResult
{
/**
* @var string
*/
protected $type;
/**
* @var string
*/
protected $url;
/**
* @var string
*/
protected $reference;
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
/**
* @return string
*/
public function getReference()
{
return $this->reference;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Author.php | File | 249 B | 0644 |
|
| Dist.php | File | 759 B | 0644 |
|
| Downloads.php | File | 1.01 KB | 0644 |
|
| Maintainer.php | File | 646 B | 0644 |
|
| Source.php | File | 639 B | 0644 |
|
| Version.php | File | 4.6 KB | 0644 |
|