Commit a7c6581f authored by Keven's avatar Keven
Browse files

Fixed access to internal properties in entities

parent dd0f4683
......@@ -114,6 +114,11 @@ abstract class Entity implements ClientAwareInterface, WarmableInterface
$this->$property->setClient($this->client);
}
// Special properties should not be accessible
if ('_' == $property{0}) {
return;
}
return $this->$property;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment