/** * {@inheritdoc} */ public function toJson(array $keys = array()) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'toJson'); if (!$pluginInfo) { return parent::toJson($keys); } else { return $this->___callPlugins('toJson', func_get_args(), $pluginInfo); } }