public function get(string $profile)
    {
        if (!$this->has($profile)) {
            throw new Exception("Profile {$profile} does not exist.");
        }

        return $this->children[$profile];
    }
public function get(string $profile)
    {
        if (!$this->has($profile)) {
            throw new Exception("Profile {$profile} does not exist.");
        }

        return $this->children[$profile];
    }
public function get ( string $ profile ) { if ( ! $ this -> has ( $ profile ) ) { throw new Exception ( "Profile {$profile} does not exist." ) ; } return $ this -> children [ $ profile ] ; }
Get child profile.

@param string $profile

@return mixed
@throws Exception
Get child profile .