therselman 7 years ago
parent
commit
1503bd33b8
  1. 5
      src/ORM/Entity.php

5
src/ORM/Entity.php

@ -21,9 +21,6 @@ abstract class Entity @@ -21,9 +21,6 @@ abstract class Entity
*/
function __get($name)
{
if ( ! isset($this->properties[$name]))
$this->load($name);
return $this->properties[$name];
}
@ -47,6 +44,4 @@ abstract class Entity @@ -47,6 +44,4 @@ abstract class Entity
{
unset($this->properties[$name]);
}
abstract function load(...$args);
}

Loading…
Cancel
Save