Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
namespace wctrn\realloc;
class Post {
public static function init() {
return new static();
}
public function get_content() {
return 'Hello WordCamp!';
}
}
echo Post::init()->get_content(), PHP_EOL;
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.