mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-10 22:32:13 +00:00
5cd6cab801
- Fixed issue causing default-namespace to add duplicate namespace when using type-hints (issue: #561). - Fixed phpstan issues. - Tests: Fixed TestRouter not resetting namespace upon reset. - Tests: Added NSController (namespace controller) class. - Tests: added test for class hint + default namespace case. - Composer: added phpstan support + configuration. - Composer: updated phpunit version.
28 lines
446 B
PHP
28 lines
446 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;
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getValue();
|
|
|
|
/**
|
|
* @param mixed $value
|
|
*/
|
|
public function setValue($value): self;
|
|
|
|
public function __toString(): string;
|
|
|
|
} |