Last active
December 8, 2019 19:12
-
-
Save mgsmus/76b142a6fc503de84c02bc62037979a6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
interface Concatable { | |
function concat(Iterator $input); | |
} | |
class Collection implements Concatable { | |
// Sadece Iterator değil tüm iterable tipleri kabul edecek | |
function concat(iterable $input) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment