for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Cycle\ORM\Promise\Declaration;
class Declaration
{
/** @var Proxy\ClassInterface */
public $class;
public $parent;
public function __construct(\ReflectionClass $parent, string $class)
$this->parent = new Proxy\ReflectionClass_($parent);
$this->class = new Proxy\Class_($class, $this->parent);
}