/** * @param Profile $profile */ public function __construct(Profile $profile) { $this->host = $profile->getHost(); $this->user = $profile->getUser(); $this->password = $profile->getPassword(); }
/** * @param Profile $profile */ function __construct(Profile $profile) { $this->url = "http://" . $profile->getHost() . "/web/"; }