for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Yoanm\ComposerConfigManager\Domain\Model;
class Package
{
/** @var string */
private $name;
private $versionConstraint;
/**
* @param string $name
* @param string $versionConstraint
*/
public function __construct($name, $versionConstraint)
$this->name = $name;
$this->versionConstraint = $versionConstraint;
}
* @return string
public function getName()
return $this->name;
public function getVersionConstraint()
return $this->versionConstraint;