Last active
March 23, 2018 11:26
-
-
Save lloc/ee81dc2b415bd49334badf5a8f811f68 to your computer and use it in GitHub Desktop.
This file contains 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 | |
namespace wctrn\realloc; | |
interface Thing { | |
public function the_content( string $content ) : void; | |
} | |
class Tag implements Thing { | |
public function the_content( $content ): void { | |
print_r( $content ); | |
} | |
} | |
( new Tag () )->the_content( [ 'a', 'b' ] ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment