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-dynamically-create-and-extend-interfaces-in-php.md
Samuel Štancl 23979938b4 Week 17/2022
2022-04-29 21:07:03 +02:00

13 lines
No EOL
532 B
Markdown

---
title: 'You can dynamically create and extend interfaces in PHP'
tweet_id: '1520040287719944192'
thread_slug: weekly-thread-2022-17
author_username: freekmurze
images:
- 'https://pbs.twimg.com/media/FRLy5UXWYAIRIet.jpg'
created_at: 2022-04-29T14:00:20+00:00
slug: you-can-dynamically-create-and-extend-interfaces-in-php
---
🔥 Did you know you can dynamically create and/or extend interfaces in #PHP?
Example from the @pestphp codebase: https://github.com/pestphp/pest/blob/1.x/src/Contracts/HasPrintableTestCaseName.php