/** * Return a builder that allows alternation that preferences the left or right value. * * @access public * @return \Faker\Components\Engine\Entity\Builder\SelectorWeightBuilder */ public function selectorWeightAlternate() { $node = new SelectorWeightBuilder('SelectorRandom', $this->eventDispatcher, $this->repo, $this->utilities, $this->generator, $this->locale, $this->database, $this->templateLoader); $node->setParent($this); return $node; }