src/Utils/Options/Options.php
private function setCurrentProfile(string $name): self
    {
        if (!$this->mapOfProfiles->hasKey($name)) {
            throw UndefinedProfileException::forProfile($name);
        }

        $this->resolver = null;
        $this->currentProfile = $name;

        return $this;
    }
private function setCurrentProfile(string $name): self
    {
        if (!$this->mapOfProfiles->hasKey($name)) {
            throw UndefinedProfileException::forProfile($name);
        }

        $this->resolver = null;
        $this->currentProfile = $name;

        return $this;
    }
private function setCurrentProfile ( string $ name ) : self { if ( ! $ this -> mapOfProfiles -> hasKey ( $ name ) ) { throw UndefinedProfileException :: forProfile ( $ name ) ; } $ this -> resolver = null ; $ this -> currentProfile = $ name ; return $ this ; }
Asigna el perfil

@param string $name

@return \PlanB\Utils\Options\Options
Asigna el perfil