public function withValidPolicyTree(PolicyTree $policy_tree): self
    {
        $state = clone $this;
        $state->_validPolicyTree = $policy_tree;
        return $state;
    }
public function withValidPolicyTree(PolicyTree $policy_tree): self
    {
        $state = clone $this;
        $state->_validPolicyTree = $policy_tree;
        return $state;
    }
public function withValidPolicyTree ( PolicyTree $ policy_tree ) : self { $ state = clone $ this ; $ state -> _validPolicyTree = $ policy_tree ; return $ state ; }
Get self with valid_policy_tree.

@param PolicyTree $policy_tree
@return self
Get self with valid_policy_tree .