mirror of
https://github.com/twisterarmy/twister.git
synced 2025-03-12 13:21:30 +00:00
This commit is contained in:
parent
ba8f3b8014
commit
1503bd33b8
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user