for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Yoanm\ComposerConfigManager\Domain\Model;
class Autoload implements ConfigurationItemInterface
{
const TYPE_PSR0 = 'psr-0';
const TYPE_PSR4 = 'psr-4';
/** @var string */
private $type;
private $namespace;
private $path;
/**
* @param string $type
* @param string $path
* @param string $namespace
*/
public function __construct($type, $path, $namespace)
$this->type = $type;
$this->namespace = $namespace;
$this->path = $path;
}
* @return string
public function getType()
return $this->type;
public function getNamespace()
return $this->namespace;
public function getPath()
return $this->path;
* {@inheritdoc}
public function getItemId()
return sprintf(
'%s#%s',
$this->getType(),
$this->getNamespace()
);