Eloquent\Phony\Mock\Builder\MockBuilder::full PHP Method

full() public method

This method will always create a new mock, and will replace the current mock. Calling this method will finalize the mock builder.
public full ( ) : Eloquent\Phony\Mock\Mock
return Eloquent\Phony\Mock\Mock The mock instance.
    public function full()
    {
        $this->mock = $this->factory->createFullMock($this->build());
        return $this->mock;
    }