Skip to content

Instantly share code, notes, and snippets.

@lloc
Created March 23, 2018 09:49
Show Gist options
  • Save lloc/ca5b078b1b744183955491d5af0c4551 to your computer and use it in GitHub Desktop.
Save lloc/ca5b078b1b744183955491d5af0c4551 to your computer and use it in GitHub Desktop.
<?php
namespace wctrn\realloc;
require_once 'late-static-bindings-post.php';
class Page extends Post {
public function get_content() {
return 'Hello Turin!';
}
}
echo Page::init()->get_content(), PHP_EOL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment