This commit is contained in:
therselman 2017-08-26 23:31:33 +02:00
parent ba8f3b8014
commit 1503bd33b8

View File

@ -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);
}