public function setBuilder(AssertionBuilder $builder)
    {
        if ( ! is_null($this->builder) and $this->configuration["implicit_validation"]) {
            $this->go();
        }

        $this->builders[] = $builder;
        $this->builder = $builder;
    }
public function setBuilder(AssertionBuilder $builder)
    {
        if ( ! is_null($this->builder) and $this->configuration["implicit_validation"]) {
            $this->go();
        }

        $this->builders[] = $builder;
        $this->builder = $builder;
    }
public function setBuilder ( AssertionBuilder $ builder ) { if ( ! is_null ( $ this -> builder ) and $ this -> configuration [ "implicit_validation" ] ) { $ this -> go ( ) ; } $ this -> builders [ ] = $ builder ; $ this -> builder = $ builder ; }
Replaces the stored AssertionBuilder instance with the given one.

@see Essence\Essence::$builder
@see Essence\Essence::$builders
@see Essence\Essence::getBuilder
@param Essence\AssertionBuilder $builder
@return void
Replaces the stored AssertionBuilder instance with the given one .