public function __construct(WrappedObject $wrappedObject, ExampleNode $example, Dispatcher $dispatcher, ExceptionFactory $exceptions, Wrapper $wrapper, AccessInspector $accessInspector) { $this->wrappedObject = $wrappedObject; $this->example = $example; $this->dispatcher = $dispatcher; $this->wrapper = $wrapper; $this->exceptionFactory = $exceptions; $this->accessInspector = $accessInspector; }