File: SampleUriFactory.inc

package info (click to toggle)
php-psr 1.2.0-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 548 kB
  • sloc: ansic: 1,485; pascal: 203; xml: 150; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

use Psr\Http\Message\UriFactoryInterface;
use Psr\Http\Message\UriInterface;

class SampleUriFactory implements UriFactoryInterface
{
    public function createUri(string $uri = ''): UriInterface
    {
        var_dump(__METHOD__, $uri);
        return new SampleUri();
    }
}