* Do not overload entry point * Automatically call Program::__construct() * Automatically call Program::main(); * Fix all tests
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
class Main {
|
||||
class Program {
|
||||
|
||||
public function __construct() {
|
||||
public function main() {
|
||||
print('Hello world!');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
new Main();
|
||||
|
Reference in New Issue
Block a user