for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Padawan\Domain\Scope;
use Padawan\Domain\Scope;
abstract class AbstractChildScope extends AbstractScope
{
/** @var Scope */
private $parent;
public function __construct(Scope $scope)
$this->parent = $scope;
}
/** @return Scope */
public function getParent()
return $this->parent;
public function getNamespace()
return $this->parent->getNamespace();
public function getUses()
return $this->parent->getUses();