Verzeichnisstruktur phpBB-3.2.0


Veröffentlicht
06.01.2017

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

AttributeBagInterface.php

Zuletzt modifiziert: 09.10.2024, 12:57 - Dateigröße: 1.51 KiB


01  <?php
02   
03  /*
04   * This file is part of the Symfony package.
05   *
06   * (c) Fabien Potencier <fabien@symfony.com>
07   *
08   * For the full copyright and license information, please view the LICENSE
09   * file that was distributed with this source code.
10   */
11   
12  namespace Symfony\Component\HttpFoundation\Session\Attribute;
13   
14  use Symfony\Component\HttpFoundation\Session\SessionBagInterface;
15   
16  /**
17   * Attributes store.
18   *
19   * @author Drak <drak@zikula.org>
20   */
21  interface AttributeBagInterface extends SessionBagInterface
22  {
23      /**
24       * Checks if an attribute is defined.
25       *
26       * @param string $name The attribute name
27       *
28       * @return bool true if the attribute is defined, false otherwise
29       */
30      public function has($name);
31   
32      /**
33       * Returns an attribute.
34       *
35       * @param string $name    The attribute name
36       * @param mixed  $default The default value if not found
37       *
38       * @return mixed
39       */
40      public function get($name, $default = null);
41   
42      /**
43       * Sets an attribute.
44       *
45       * @param string $name
46       * @param mixed  $value
47       */
48      public function set($name, $value);
49   
50      /**
51       * Returns attributes.
52       *
53       * @return array Attributes
54       */
55      public function all();
56   
57      /**
58       * Sets attributes.
59       *
60       * @param array $attributes Attributes
61       */
62      public function replace(array $attributes);
63   
64      /**
65       * Removes an attribute.
66       *
67       * @param string $name
68       *
69       * @return mixed The removed value or null when it does not exist
70       */
71      public function remove($name);
72  }
73