for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Patsura Dmitry https://github.com/ovr <[email protected]>
*/
namespace PHPSA\Definition;
use PhpParser\Node;
use PHPSA\CompiledExpression;
use PHPSA\Context;
use PHPSA\ScopePointer;
use PHPSA\Variable;
abstract class ParentDefinition extends AbstractDefinition
{
* @var string
protected $namespace;
* @return string
public function getName()
return $this->name;
}
* @return ScopePointer
public function getPointer()
return new ScopePointer($this);
public function getNamespace()
return $this->namespace;
* @param string $namespace
public function setNamespace($namespace)
$this->namespace = $namespace;