Tuesday, July 10, 2012

PHP: static method

class Foo {
    public static function aStaticMethod() {
        // ...
    }
}
Foo::aStaticMethod();

Resource:
http://php.net/manual/es/language.oop5.static.php

No comments: