Addition: You can use static methods in both ways, static (Foo::bar()) and object-related ($foo->bar()). See: http://php.net/manual/en/language.oop5.static.php