public function setProfile($profile) {
		if (is_string($profile)) {
			$profile = new Profile($profile);
		}
		$this->profile = $profile;
		return $this;
	}
public function setProfile($profile) {
		if (is_string($profile)) {
			$profile = new Profile($profile);
		}
		$this->profile = $profile;
		return $this;
	}
public function setProfile ( $ profile ) { if ( is_string ( $ profile ) ) { $ profile = new Profile ( $ profile ) ; } $ this -> profile = $ profile ; return $ this ; }
Sets the code style profile

@param Profile/string $profile
@return $this
Sets the code style profile