Commit f3d4f1b7 authored by catch's avatar catch
Browse files

Issue #3360124 by andypost, elber, catch, Spokje: Deprecate...

Issue #3360124 by andypost, elber, catch, Spokje: Deprecate ::supportedInterfaceOrClass property on normalizer/denormalizers
parent 6b745965
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -16,11 +16,6 @@
 */
final class ConfigEntityDenormalizer extends EntityDenormalizerBase {

  /**
   * {@inheritdoc}
   */
  protected $supportedInterfaceOrClass = ConfigEntityInterface::class;

  /**
   * {@inheritdoc}
   */
+0 −5
Original line number Diff line number Diff line
@@ -17,11 +17,6 @@
 */
final class ContentEntityDenormalizer extends EntityDenormalizerBase {

  /**
   * {@inheritdoc}
   */
  protected $supportedInterfaceOrClass = ContentEntityInterface::class;

  /**
   * Prepares the input data to create the entity.
   *
+0 −5
Original line number Diff line number Diff line
@@ -12,11 +12,6 @@
 */
class DataNormalizer extends NormalizerBase {

  /**
   * {@inheritdoc}
   */
  protected $supportedInterfaceOrClass = Data::class;

  /**
   * {@inheritdoc}
   */
+0 −5
Original line number Diff line number Diff line
@@ -23,11 +23,6 @@
 */
class EntityAccessDeniedHttpExceptionNormalizer extends HttpExceptionNormalizer {

  /**
   * {@inheritdoc}
   */
  protected $supportedInterfaceOrClass = EntityAccessDeniedHttpException::class;

  /**
   * {@inheritdoc}
   */
+0 −5
Original line number Diff line number Diff line
@@ -24,11 +24,6 @@
 */
class EntityReferenceFieldNormalizer extends FieldNormalizer {

  /**
   * {@inheritdoc}
   */
  protected $supportedInterfaceOrClass = EntityReferenceFieldItemListInterface::class;

  /**
   * {@inheritdoc}
   */
Loading