PluginProbe
Independent Analytics – WordPress Analytics Plugin / 1.28.0
Independent Analytics – WordPress Analytics Plugin v1.28.0
2.15.5 2.15.4 2.15.3 2.15.2 2.15.1 2.15.0 2.14.10 trunk 1.1 1.10 1.10.1 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.17.1 1.17.2 1.17.3 1.17.4 1.18 1.18.1 1.19.0 All 120 releases
independent-analytics / vendor / symfony / translation / MetadataAwareInterface.php
MetadataAwareInterface.php
44 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11 namespace IAWP_SCOPED\Symfony\Component\Translation;
12
13 /**
14 * MetadataAwareInterface.
15 *
16 * @author Fabien Potencier <fabien@symfony.com>
17 */
18 interface MetadataAwareInterface
19 {
20 /**
21 * Gets metadata for the given domain and key.
22 *
23 * Passing an empty domain will return an array with all metadata indexed by
24 * domain and then by key. Passing an empty key will return an array with all
25 * metadata for the given domain.
26 *
27 * @return mixed The value that was set or an array with the domains/keys or null
28 */
29 public function getMetadata(string $key = '', string $domain = 'messages');
30 /**
31 * Adds metadata to a message domain.
32 *
33 * @param mixed $value
34 */
35 public function setMetadata(string $key, $value, string $domain = 'messages');
36 /**
37 * Deletes metadata for the given key and domain.
38 *
39 * Passing an empty domain will delete all metadata. Passing an empty key will
40 * delete all metadata for the given domain.
41 */
42 public function deleteMetadata(string $key = '', string $domain = 'messages');
43 }
44