name = $reflector->getName(); $this->typeHint = $reflector->getType(); $this->isOptional = $reflector->getDefault() !== null; $this->defaultValue = $reflector->getDefault(); $this->isPassedByReference = $reflector->isByRef(); } }