From cdb36d354c2e45c4066dc09885272be21be774e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thiemo=20M=C3=A4ttig?= Date: Thu, 2 Apr 2015 11:01:42 +0200 Subject: [PATCH] Un-deprecate Fingerprint convenience methods --- src/Entity/Entity.php | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/Entity/Entity.php b/src/Entity/Entity.php index 9c31957f..25c9e050 100644 --- a/src/Entity/Entity.php +++ b/src/Entity/Entity.php @@ -52,8 +52,6 @@ public function getId() { /** * Sets the value for the label in a certain value. * - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint - * * @param string $languageCode * @param string $value * @@ -67,8 +65,6 @@ public function setLabel( $languageCode, $value ) { /** * Sets the value for the description in a certain value. * - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint - * * @param string $languageCode * @param string $value * @@ -82,8 +78,6 @@ public function setDescription( $languageCode, $value ) { /** * Removes the labels in the specified languages. * - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint - * * @param string $languageCode */ public function removeLabel( $languageCode ) { @@ -93,8 +87,6 @@ public function removeLabel( $languageCode ) { /** * Removes the descriptions in the specified languages. * - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint - * * @param string $languageCode */ public function removeDescription( $languageCode ) { @@ -104,8 +96,6 @@ public function removeDescription( $languageCode ) { /** * Returns the aliases for the item in the language with the specified code. * - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint - * * @param string $languageCode * * @return string[] @@ -124,8 +114,6 @@ public function getAliases( $languageCode ) { * Returns all the aliases for the item. * The result is an array with language codes pointing to an array of aliases in the language they specify. * - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint - * * @param string[]|null $languageCodes * * @return array[] @@ -150,8 +138,6 @@ public function getAllAliases( array $languageCodes = null ) { /** * Sets the aliases for the item in the language with the specified code. * - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint - * * @param string $languageCode * @param string[] $aliases */ @@ -162,8 +148,6 @@ public function setAliases( $languageCode, array $aliases ) { /** * Add the provided aliases to the aliases list of the item in the language with the specified code. * - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint - * * @param string $languageCode * @param string[] $aliases */ @@ -180,8 +164,6 @@ public function addAliases( $languageCode, array $aliases ) { /** * Removed the provided aliases from the aliases list of the item in the language with the specified code. * - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint - * * @param string $languageCode * @param string[] $aliases */ @@ -198,8 +180,6 @@ public function removeAliases( $languageCode, array $aliases ) { /** * Returns the descriptions of the entity in the provided languages. * - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint - * * @param string[]|null $languageCodes Note that an empty array gives * descriptions for no languages while a null pointer gives all * @@ -212,8 +192,6 @@ public function getDescriptions( array $languageCodes = null ) { /** * Returns the labels of the entity in the provided languages. * - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint - * * @param string[]|null $languageCodes Note that an empty array gives * labels for no languages while a null pointer gives all * @@ -227,8 +205,6 @@ public function getLabels( array $languageCodes = null ) { * Returns the description of the entity in the language with the provided code, * or false in cases there is none in this language. * - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint - * * @param string $languageCode * * @return string|bool @@ -245,8 +221,6 @@ public function getDescription( $languageCode ) { * Returns the label of the entity in the language with the provided code, * or false in cases there is none in this language. * - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint - * * @param string $languageCode * * @return string|bool @@ -288,7 +262,6 @@ private function getMultilangTexts( $fieldKey, array $languageCodes = null ) { * language codes pointing to the label in that language. * * @since 0.4 - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint * * @param string[] $labels */ @@ -306,7 +279,6 @@ public function setLabels( array $labels ) { * language codes pointing to the description in that language. * * @since 0.4 - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint * * @param string[] $descriptions */ @@ -325,7 +297,6 @@ public function setDescriptions( array $descriptions ) { * in that language. * * @since 0.4 - * @deprecated since 0.7.3 - use getFingerprint and setFingerprint * * @param array[] $aliasLists */