private static function getMinifiedPackIfAllowed(string $pack_contents, object $packer_object=null) :string {
		// if we are allowed to minify
		return \Polyfony\Config::get('response','minify') ? 
			($packer_object)->add($pack_contents)->minify() : 
			$pack_contents;

	}