Skip to content

autoload class method #5

@aliuygur

Description

@aliuygur

class Greeting {
public static function hello() {
echo 'hello world!';
}
}

Flight::route('/', array('Greeting','hello'));

the Greeting class it is better to be automatically loaded

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions