reader = $reader; } /** * Get initial data * * @param string $path Format is scope type and scope code separated by slash: e.g. "type/code" * @return array * @since 100.1.2 */ public function get($path = '') { $data = new DataObject($this->reader->read()); if ($path !== '') { $path = '/' . $path; } return $data->getData('data' . $path) ?: []; } }