Set visibility of getReader to allow inheritance
This commit is contained in:
@@ -39,7 +39,11 @@ class CloudObject {
|
||||
return $this;
|
||||
}
|
||||
|
||||
private function getReader() : NodeReader {
|
||||
/**
|
||||
* Get the NodeReader used for this CloudObject.
|
||||
* Returns a default NodeReader if non has been set.
|
||||
*/
|
||||
protected function getReader() : NodeReader {
|
||||
if (!$this->reader) {
|
||||
$this->reader = new NodeReader;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user