[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/symfony/string/ -> LazyString.php (summary)

(no description)

File Size: 164 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

LazyString:: (9 methods):
  fromCallable()
  fromStringable()
  isStringable()
  resolve()
  __toString()
  __sleep()
  jsonSerialize()
  __construct()
  getPrettyName()


Class: LazyString  - X-Ref

A string whose value is computed lazily by a callback.

fromCallable($callback, ...$arguments)   X-Ref

param: callable|array $callback A callable or a [Closure, method] lazy-callable
return: static

fromStringable($value)   X-Ref

param: string|int|float|bool|\Stringable $value
return: static

isStringable($value)   X-Ref
Tells whether the provided value can be cast to string.


resolve($value)   X-Ref
Casts scalars and stringable objects to strings.

param: object|string|int|float|bool $value

__toString()   X-Ref

return: string

__sleep()   X-Ref
No description

jsonSerialize()   X-Ref
No description

__construct()   X-Ref
No description

getPrettyName(callable $callback)   X-Ref
No description



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer