src/Mock/Handle/InstanceHandle.php
public function constructWith($arguments = []): self
    {
        if ($this->callParentConstructorMethod) {
            if (!$arguments instanceof Arguments) {
                $arguments = new Arguments($arguments);
            }

            $this->callParentConstructorMethod->invoke($this->mock, $arguments);
        }

        return $this;
    }
public function constructWith($arguments = []): self
    {
        if ($this->callParentConstructorMethod) {
            if (!$arguments instanceof Arguments) {
                $arguments = new Arguments($arguments);
            }

            $this->callParentConstructorMethod->invoke($this->mock, $arguments);
        }

        return $this;
    }
public function constructWith ( $ arguments = [ ] ) : self { if ( $ this -> callParentConstructorMethod ) { if ( ! $ arguments instanceof Arguments ) { $ arguments = new Arguments ( $ arguments ) ; } $ this -> callParentConstructorMethod -> invoke ( $ this -> mock , $ arguments ) ; } return $ this ; }
Call the original constructor.

@param Arguments|array $arguments The arguments.

@return $this This handle.
Call the original constructor .