Uri
Illuminate\Support\Uri
class src/Illuminate/Support/Uri.php
__construct
v11.35.0 から
__construct(League\Uri\Contracts\UriInterface|Stringable|string $uri = '')
-
v11.35.0
追加
- 変更後
__construct(League\Uri\Contracts\UriInterface|Stringable|string $uri = '')
__toString
v11.35.0 から
__toString(): string
-
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
-
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
-
v12.50.0
追加
- 変更後
authority(): ?string
decode
v11.35.0 から
decode(): string
-
v11.35.0
追加
- 変更後
decode(): string
dump
v11.37.0 から
dump(...$args)
@param mixed ...$args
@return $this
-
v11.37.0
追加
- 変更後
dump(...$args) [@param mixed ...$args, @return $this]
fragment
v11.35.0 から
fragment(): ?string
-
v11.35.0
追加
- 変更後
fragment(): ?string
getUri
v11.35.0 から
getUri(): League\Uri\Contracts\UriInterface
-
v11.35.0
追加
- 変更後
getUri(): League\Uri\Contracts\UriInterface
host
v11.35.0 から
host(): ?string
-
v11.35.0
追加
- 変更後
host(): ?string
isEmpty
v11.35.0 から
isEmpty(): bool
-
v11.35.0
追加
- 変更後
isEmpty(): bool
isNotEmpty
v13.3.0 から
isNotEmpty(): bool
-
v13.3.0
追加
- 変更後
isNotEmpty(): bool
jsonSerialize
v12.20.0 から
jsonSerialize(): string
@return string
-
v12.20.0
追加
- 変更後
jsonSerialize(): string [@return string]
of
v11.35.0 から
static
static of(League\Uri\Contracts\UriInterface|Stringable|string $uri = ''): static
-
v11.35.0
追加
- 変更後
static of(League\Uri\Contracts\UriInterface|Stringable|string $uri = ''): static
password
v11.35.0 から
password(): ?string
-
v11.35.0
追加
- 変更後
password(): ?string
path
v11.35.0 から
path(): string
@return non-empty-string
pathSegments
v12.6.0 から
pathSegments(): Illuminate\Support\Collection
-
v12.6.0
追加
- 変更後
pathSegments(): Illuminate\Support\Collection
port
v11.35.0 から
port(): ?int
-
v11.35.0
追加
- 変更後
port(): ?int
pushOntoQuery
v11.35.0 から
pushOntoQuery(string $key, mixed $value): static
-
v11.35.0
追加
- 変更後
pushOntoQuery(string $key, mixed $value): static
query
v11.35.0 から
query(): Illuminate\Support\UriQueryString
-
v11.35.0
追加
- 変更後
query(): Illuminate\Support\UriQueryString
redirect
v11.35.0 から
redirect(int $status = 302, array $headers = []): Illuminate\Http\RedirectResponse
-
v11.35.0
追加
- 変更後
redirect(int $status = 302, array $headers = []): Illuminate\Http\RedirectResponse
replaceQuery
v11.35.0 から
replaceQuery(array $query): static
-
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
-
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
-
v11.35.0
追加
- 変更後
scheme(): ?string
setUrlGeneratorResolver
v11.35.0 から
static
static setUrlGeneratorResolver(Closure $urlGeneratorResolver): void
-
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
-
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
-
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
-
v11.35.0
追加
- 変更後
static to(string $path): static
toHtml
v11.35.0 から
toHtml()
@return string
-
v11.35.0
追加
- 変更後
toHtml() [@return string]
toResponse
v11.35.0 から
toResponse($request)
@param \Illuminate\Http\Request $request
@return \Symfony\Component\HttpFoundation\Response
-
v11.35.0
追加
- 変更後
toResponse($request) [@param \Illuminate\Http\Request $request, @return \Symfony\Component\HttpFoundation\Response]
toString
v13.1.0 から
toString(): string
-
v13.1.0
追加
- 変更後
toString(): string
toStringable
v12.21.0 から
toStringable()
@return \Illuminate\Support\Stringable
-
v12.21.0
追加
- 変更後
toStringable() [@return \Illuminate\Support\Stringable]
user
v11.35.0 から
user(bool $withPassword = false): ?string
-
v11.35.0
追加
- 変更後
user(bool $withPassword = false): ?string
value
v11.35.0 から
value(): string
-
v11.35.0
追加
- 変更後
value(): string
withFragment
v11.35.0 から
withFragment(string $fragment): static
-
v11.35.0
追加
- 変更後
withFragment(string $fragment): static
withHost
v11.35.0 から
withHost(Stringable|string $host): static
-
v11.35.0
追加
- 変更後
withHost(Stringable|string $host): static
withoutFragment
v13.3.0 から
withoutFragment(): static
-
v13.3.0
追加
- 変更後
withoutFragment(): static
withoutQuery
v11.35.0 から
withoutQuery(array|string $keys): static
withPath
v11.35.0 から
withPath(Stringable|string $path): static
-
v11.35.0
追加
- 変更後
withPath(Stringable|string $path): static
withPort
v11.35.0 から
withPort(?int $port): static
-
v11.35.0
追加
- 変更後
withPort(int|null $port): static
-
v11.44.3
シグネチャ変更
- 変更前
withPort(int|null $port): static- 変更後
withPort(?int $port): static
-
v12.0.0
シグネチャ変更
- 変更前
withPort(?int $port): static- 変更後
withPort(int|null $port): static
-
v12.4.0
シグネチャ変更
- 変更前
withPort(int|null $port): static- 変更後
withPort(?int $port): static
withQuery
v11.35.0 から
withQuery(array $query, bool $merge = true): static
-
v11.35.0
追加
- 変更後
withQuery(array $query, bool $merge = true): static
withQueryIfMissing
v11.35.0 から
withQueryIfMissing(array $query): static
-
v11.35.0
追加
- 変更後
withQueryIfMissing(array $query): static
withScheme
v11.35.0 から
withScheme(Stringable|string $scheme): static
-
v11.35.0
追加
- 変更後
withScheme(Stringable|string $scheme): static
withUser
v11.35.0 から
withUser(Stringable|string|null $user, Stringable|string|null $password = null): static
-
v11.35.0
追加
- 変更後
withUser(Stringable|string|null $user, Stringable|string|null $password = null): static