1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00
laravel-tips/content/tips/you-can-now-call-newline-on-stringable-instances.md
Samuel Štancl 876878c43a 13/2022
2022-04-02 17:18:22 +02:00

14 lines
No EOL
472 B
Markdown

---
title: 'You can now call `newLine()` on Stringable instances'
tweet_id: '1509994032033804290'
thread_slug: weekly-thread-2022-13
author_username: djgeisi
images:
- 'https://pbs.twimg.com/media/FPCdrxkWUAASAm5.jpg'
created_at: 2022-04-01T20:40:06+00:00
slug: you-can-now-call-newline-on-stringable-instances
---
#PHP #Laravel
Since todays Laravel 9.6 release a new newline() method was added to the Stringable Class.
Thanks to @paulandroshchuk who contributed this