diff --git a/src/ORM/Entity.php b/src/ORM/Entity.php index f08dd5b..84a9582 100644 --- a/src/ORM/Entity.php +++ b/src/ORM/Entity.php @@ -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 { unset($this->properties[$name]); } - - abstract function load(...$args); }