Uri

Illuminate\Support\Uri

class src/Illuminate/Support/Uri.php

__construct

v11.35.0 から

__construct(League\Uri\Contracts\UriInterface|Stringable|string $uri = '')
  1. v11.35.0 追加
    変更後
    __construct(League\Uri\Contracts\UriInterface|Stringable|string $uri = '')

__toString

v11.35.0 から

__toString(): string
  1. v11.35.0 追加
    変更後
    __toString(): string

action

v12.9.0 から

static

static action($action, $parameters = [], $absolute = true): static
@param string|array $action
@param mixed $parameters
@param bool $absolute
@return static
  1. v12.9.0 追加
    変更後
    static action($action, $parameters = [], $absolute = true): static [@param string|array $action, @param mixed $parameters, @param bool $absolute, @return static]

authority

v12.50.0 から

authority(): ?string
  1. v12.50.0 追加
    変更後
    authority(): ?string

decode

v11.35.0 から

decode(): string
  1. v11.35.0 追加
    変更後
    decode(): string

dump

v11.37.0 から

dump(...$args)
@param mixed ...$args
@return $this
  1. v11.37.0 追加
    変更後
    dump(...$args) [@param mixed ...$args, @return $this]

fragment

v11.35.0 から

fragment(): ?string
  1. v11.35.0 追加
    変更後
    fragment(): ?string

getUri

v11.35.0 から

getUri(): League\Uri\Contracts\UriInterface
  1. v11.35.0 追加
    変更後
    getUri(): League\Uri\Contracts\UriInterface

host

v11.35.0 から

host(): ?string
  1. v11.35.0 追加
    変更後
    host(): ?string

isEmpty

v11.35.0 から

isEmpty(): bool
  1. v11.35.0 追加
    変更後
    isEmpty(): bool

isNotEmpty

v13.3.0 から

isNotEmpty(): bool
  1. v13.3.0 追加
    変更後
    isNotEmpty(): bool

jsonSerialize

v12.20.0 から

jsonSerialize(): string
@return string
  1. v12.20.0 追加
    変更後
    jsonSerialize(): string [@return string]

of

v11.35.0 から

static

static of(League\Uri\Contracts\UriInterface|Stringable|string $uri = ''): static
  1. v11.35.0 追加
    変更後
    static of(League\Uri\Contracts\UriInterface|Stringable|string $uri = ''): static

password

v11.35.0 から

password(): ?string
  1. v11.35.0 追加
    変更後
    password(): ?string

path

v11.35.0 から

path(): string
@return non-empty-string
  1. v11.35.0 追加
    変更後
    path(): ?string
  2. v12.40.0 シグネチャ変更
    変更前
    path(): ?string
    変更後
    path(): string [@return non-empty-string]

pathSegments

v12.6.0 から

pathSegments(): Illuminate\Support\Collection
  1. v12.6.0 追加
    変更後
    pathSegments(): Illuminate\Support\Collection

port

v11.35.0 から

port(): ?int
  1. v11.35.0 追加
    変更後
    port(): ?int

pushOntoQuery

v11.35.0 から

pushOntoQuery(string $key, mixed $value): static
  1. v11.35.0 追加
    変更後
    pushOntoQuery(string $key, mixed $value): static

query

v11.35.0 から

query(): Illuminate\Support\UriQueryString
  1. v11.35.0 追加
    変更後
    query(): Illuminate\Support\UriQueryString

redirect

v11.35.0 から

redirect(int $status = 302, array $headers = []): Illuminate\Http\RedirectResponse
  1. v11.35.0 追加
    変更後
    redirect(int $status = 302, array $headers = []): Illuminate\Http\RedirectResponse

replaceQuery

v11.35.0 から

replaceQuery(array $query): static
  1. v11.35.0 追加
    変更後
    replaceQuery(array $query): static

route

v11.35.0 から

static

static route($name, $parameters = [], $absolute = true): static
@param \BackedEnum|string $name
@param mixed $parameters
@param bool $absolute
@return static
  1. v11.35.0 追加
    変更後
    static route($name, $parameters = [], $absolute = true): static [@param \BackedEnum|string $name, @param mixed $parameters, @param bool $absolute, @return static]

scheme

v11.35.0 から

scheme(): ?string
  1. v11.35.0 追加
    変更後
    scheme(): ?string

setUrlGeneratorResolver

v11.35.0 から

static

static setUrlGeneratorResolver(Closure $urlGeneratorResolver): void
  1. v11.35.0 追加
    変更後
    static setUrlGeneratorResolver(Closure $urlGeneratorResolver): void

signedRoute

v11.36.0 から

static

static signedRoute($name, $parameters = [], $expiration = null, $absolute = true): static
@param \BackedEnum|string $name
@param mixed $parameters
@param \DateTimeInterface|\DateInterval|int|null $expiration
@param bool $absolute
@return static
  1. v11.36.0 追加
    変更後
    static signedRoute($name, $parameters = [], $expiration = null, $absolute = true): static [@param \BackedEnum|string $name, @param mixed $parameters, @param \DateTimeInterface|\DateInterval|int|null $expiration, @param bool $absolute, @return static]

temporarySignedRoute

v11.36.0 から

static

static temporarySignedRoute($name, $expiration, $parameters = [], $absolute = true): static
@param \BackedEnum|string $name
@param \DateTimeInterface|\DateInterval|int $expiration
@param array $parameters
@param bool $absolute
@return static
  1. v11.36.0 追加
    変更後
    static temporarySignedRoute($name, $expiration, $parameters = [], $absolute = true): static [@param \BackedEnum|string $name, @param \DateTimeInterface|\DateInterval|int $expiration, @param array $parameters, @param bool $absolute, @return static]

to

v11.35.0 から

static

static to(string $path): static
  1. v11.35.0 追加
    変更後
    static to(string $path): static

toHtml

v11.35.0 から

toHtml()
@return string
  1. v11.35.0 追加
    変更後
    toHtml() [@return string]

toResponse

v11.35.0 から

toResponse($request)
@param \Illuminate\Http\Request $request
@return \Symfony\Component\HttpFoundation\Response
  1. v11.35.0 追加
    変更後
    toResponse($request) [@param \Illuminate\Http\Request $request, @return \Symfony\Component\HttpFoundation\Response]

toString

v13.1.0 から

toString(): string
  1. v13.1.0 追加
    変更後
    toString(): string

toStringable

v12.21.0 から

toStringable()
@return \Illuminate\Support\Stringable
  1. v12.21.0 追加
    変更後
    toStringable() [@return \Illuminate\Support\Stringable]

user

v11.35.0 から

user(bool $withPassword = false): ?string
  1. v11.35.0 追加
    変更後
    user(bool $withPassword = false): ?string

value

v11.35.0 から

value(): string
  1. v11.35.0 追加
    変更後
    value(): string

withFragment

v11.35.0 から

withFragment(string $fragment): static
  1. v11.35.0 追加
    変更後
    withFragment(string $fragment): static

withHost

v11.35.0 から

withHost(Stringable|string $host): static
  1. v11.35.0 追加
    変更後
    withHost(Stringable|string $host): static

withoutFragment

v13.3.0 から

withoutFragment(): static
  1. v13.3.0 追加
    変更後
    withoutFragment(): static

withoutQuery

v11.35.0 から

withoutQuery(array|string $keys): static
  1. v11.35.0 追加
    変更後
    withoutQuery(array $keys): static
  2. v11.37.0 シグネチャ変更
    変更前
    withoutQuery(array $keys): static
    変更後
    withoutQuery(array|string $keys): static

withPath

v11.35.0 から

withPath(Stringable|string $path): static
  1. v11.35.0 追加
    変更後
    withPath(Stringable|string $path): static

withPort

v11.35.0 から

withPort(?int $port): static
  1. v11.35.0 追加
    変更後
    withPort(int|null $port): static
  2. v11.44.3 シグネチャ変更
    変更前
    withPort(int|null $port): static
    変更後
    withPort(?int $port): static
  3. v12.0.0 シグネチャ変更
    変更前
    withPort(?int $port): static
    変更後
    withPort(int|null $port): static
  4. v12.4.0 シグネチャ変更
    変更前
    withPort(int|null $port): static
    変更後
    withPort(?int $port): static

withQuery

v11.35.0 から

withQuery(array $query, bool $merge = true): static
  1. v11.35.0 追加
    変更後
    withQuery(array $query, bool $merge = true): static

withQueryIfMissing

v11.35.0 から

withQueryIfMissing(array $query): static
  1. v11.35.0 追加
    変更後
    withQueryIfMissing(array $query): static

withScheme

v11.35.0 から

withScheme(Stringable|string $scheme): static
  1. v11.35.0 追加
    変更後
    withScheme(Stringable|string $scheme): static

withUser

v11.35.0 から

withUser(Stringable|string|null $user, Stringable|string|null $password = null): static
  1. v11.35.0 追加
    変更後
    withUser(Stringable|string|null $user, Stringable|string|null $password = null): static