Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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
You can’t perform that action at this time.