src/Constraints/Builder.php
public function build()
    {
        if ($this->constraints->count() == 1) {
            return $this->constraints->first();
        }

        return new Group($this->constraints);
    }
public function build()
    {
        if ($this->constraints->count() == 1) {
            return $this->constraints->first();
        }

        return new Group($this->constraints);
    }
public function build ( ) { if ( $ this -> constraints -> count ( ) == 1 ) { return $ this -> constraints -> first ( ) ; } return new Group ( $ this -> constraints ) ; }
Build the compiled list of constraints.

@return \Silber\Bouncer\Constraints\Constrainer
Build the compiled list of constraints .