Is there any way I can check if a method is being called statically or on an instantiated object?
Create a static variable and change it in the constructor.
private static $isInstance = false; public function __construct() { self::$isInstance = true; }
Now you can check it
public function myMethod() { if (self::$isInstance) { // do things } }