For a class that inherits the Entity class, the load function shouldn't have the $entity_type variable as it is assumed.
We need to refactor the Entity class's load function to be named something else (something more internal, but still publicly accessible), and then refactor the Node class to use the correct load function.
We also need to create classes to represent the other entity types.
For a class that inherits the Entity class, the
load
function shouldn't have the$entity_type
variable as it is assumed.We need to refactor the Entity class's load function to be named something else (something more internal, but still publicly accessible), and then refactor the Node class to use the correct load function.
We also need to create classes to represent the other entity types.