Go\Aop\Framework\ReflectionConstructorInvocation::__construct PHP Method

__construct() public method

Constructor for constructor invocation :)
public __construct ( string $className, string $type, array $advices )
$className string Class name
$type string
$advices array array List of advices for this invocation
    public function __construct($className, $type, array $advices)
    {
        $this->class = new ReflectionClass($className);
        $this->constructor = $constructor = $this->class->getConstructor();
        // Give an access to call protected constructor
        if ($constructor && $constructor->isProtected()) {
            $constructor->setAccessible(true);
        }
        if ($constructor) {
            $this->constructorArguments = $constructor->getNumberOfParameters();
        }
        parent::__construct($advices);
    }