We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8b701 commit 02c2b12Copy full SHA for 02c2b12
src/Dom/Elements.php
@@ -218,6 +218,19 @@ public function htmls()
218
});
219
}
220
221
+ /**
222
+ * Gets the htmlOuter of all the elements
223
+ *
224
+ * @return \Illuminate\Support\Collection|\Tightenco\Collect\Support\Collection
225
+ */
226
+ public function htmlOuters()
227
+ {
228
+ return $this->map(function($item){
229
+ return trim($item->htmlOuter());
230
+ });
231
+ }
232
+
233
234
/**
235
* @return phpQueryObject
236
*/
0 commit comments