Skip to content

Glossary: PHP Basics

static method

Also written: static, ::

A method that belongs to the class rather than to one object, called on the class name with `::`, like `Product::all()`.

Where the book teaches it

Related terms

methodclass