This will result in fatal error, since you are calling this method statically (::) and inside this method you are using $this special variable, that refers to workingClass(object from which it was called) and workingClass has no getId method.
dev-null-dweller
- 29.5k
- 3
- 68
- 87