Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 991
Zeile 1... Zeile 1...
1
<?php
1
<?php
Zeile -... Zeile 2...
-
 
2
 
-
 
3
declare(strict_types=1);
2
 
4
 
Zeile 3... Zeile 5...
3
namespace Psr\Http\Message;
5
namespace Psr\Http\Message;
4
 
6
 
5
/**
7
/**
Zeile 222... Zeile 224...
222
     * @see getAttributes()
224
     * @see getAttributes()
223
     * @param string $name The attribute name.
225
     * @param string $name The attribute name.
224
     * @param mixed $default Default value to return if the attribute does not exist.
226
     * @param mixed $default Default value to return if the attribute does not exist.
225
     * @return mixed
227
     * @return mixed
226
     */
228
     */
227
    public function getAttribute($name, $default = null);
229
    public function getAttribute(string $name, $default = null);
Zeile 228... Zeile 230...
228
 
230
 
229
    /**
231
    /**
230
     * Return an instance with the specified derived request attribute.
232
     * Return an instance with the specified derived request attribute.
231
     *
233
     *
Zeile 239... Zeile 241...
239
     * @see getAttributes()
241
     * @see getAttributes()
240
     * @param string $name The attribute name.
242
     * @param string $name The attribute name.
241
     * @param mixed $value The value of the attribute.
243
     * @param mixed $value The value of the attribute.
242
     * @return static
244
     * @return static
243
     */
245
     */
244
    public function withAttribute($name, $value);
246
    public function withAttribute(string $name, $value);
Zeile 245... Zeile 247...
245
 
247
 
246
    /**
248
    /**
247
     * Return an instance that removes the specified derived request attribute.
249
     * Return an instance that removes the specified derived request attribute.
248
     *
250
     *
Zeile 255... Zeile 257...
255
     *
257
     *
256
     * @see getAttributes()
258
     * @see getAttributes()
257
     * @param string $name The attribute name.
259
     * @param string $name The attribute name.
258
     * @return static
260
     * @return static
259
     */
261
     */
260
    public function withoutAttribute($name);
262
    public function withoutAttribute(string $name);
261
}
263
}