/** * {@inheritdoc} */ public function supports($data, Resource $resource) { if (strrpos($data['key'], '\\') !== false) { $data = substr($data['key'], strrpos($data['key'], '\\') + 1); } else { $data = $data['key']; } return parent::supports($data, $resource); }
/** * {@inheritdoc} */ public function supports($data, Resource $resource) { $data = $data['value']['name']; return parent::supports($data, $resource); }
/** * {@inheritdoc} */ public function supports($data, Resource $resource) { $data = $data['key']; return parent::supports($data, $resource); }