mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 00:37:52 +00:00
ce63e247b1
- Fixed `Url` not outputting correct class when used in json_encode. - Fixed `IInputItem` being too strict about strings which may be nullable.
22 lines
382 B
PHP
22 lines
382 B
PHP
<?php
|
|
|
|
namespace Pecee\Http\Input;
|
|
|
|
interface IInputItem
|
|
{
|
|
|
|
public function getIndex(): string;
|
|
|
|
public function setIndex(string $index): self;
|
|
|
|
public function getName(): ?string;
|
|
|
|
public function setName(string $name): self;
|
|
|
|
public function getValue(): ?string;
|
|
|
|
public function setValue(string $value): self;
|
|
|
|
public function __toString(): string;
|
|
|
|
} |