[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

(no description)

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

Defines 1 class

ByteString:: (36 methods):
  __construct()
  fromRandom()
  bytesAt()
  append()
  camel()
  chunk()
  endsWith()
  equalsTo()
  folded()
  indexOf()
  indexOfLast()
  isUtf8()
  join()
  length()
  lower()
  match()
  padBoth()
  padEnd()
  padStart()
  prepend()
  replace()
  replaceMatches()
  reverse()
  slice()
  snake()
  splice()
  split()
  startsWith()
  title()
  toUnicodeString()
  toCodePointString()
  trim()
  trimEnd()
  trimStart()
  upper()
  width()


Class: ByteString  - X-Ref

Represents a binary-safe string of bytes.

__construct(string $string = '')   X-Ref
No description

fromRandom(int $length = 16, string $alphabet = null)   X-Ref
No description

bytesAt(int $offset)   X-Ref
No description

append(string ...$suffix)   X-Ref
No description

camel()   X-Ref
No description

chunk(int $length = 1)   X-Ref
No description

endsWith($suffix)   X-Ref
No description

equalsTo($string)   X-Ref
No description

folded()   X-Ref
No description

indexOf($needle, int $offset = 0)   X-Ref
No description

indexOfLast($needle, int $offset = 0)   X-Ref
No description

isUtf8()   X-Ref
No description

join(array $strings, string $lastGlue = null)   X-Ref
No description

length()   X-Ref
No description

lower()   X-Ref
No description

match(string $regexp, int $flags = 0, int $offset = 0)   X-Ref
No description

padBoth(int $length, string $padStr = ' ')   X-Ref
No description

padEnd(int $length, string $padStr = ' ')   X-Ref
No description

padStart(int $length, string $padStr = ' ')   X-Ref
No description

prepend(string ...$prefix)   X-Ref
No description

replace(string $from, string $to)   X-Ref
No description

replaceMatches(string $fromRegexp, $to)   X-Ref
No description

reverse()   X-Ref
No description

slice(int $start = 0, int $length = null)   X-Ref
No description

snake()   X-Ref
No description

splice(string $replacement, int $start = 0, int $length = null)   X-Ref
No description

split(string $delimiter, int $limit = null, int $flags = null)   X-Ref
No description

startsWith($prefix)   X-Ref
No description

title(bool $allWords = false)   X-Ref
No description

toUnicodeString(string $fromEncoding = null)   X-Ref
No description

toCodePointString(string $fromEncoding = null)   X-Ref
No description

trim(string $chars = " \t\n\r\0\x0B\x0C")   X-Ref
No description

trimEnd(string $chars = " \t\n\r\0\x0B\x0C")   X-Ref
No description

trimStart(string $chars = " \t\n\r\0\x0B\x0C")   X-Ref
No description

upper()   X-Ref
No description

width(bool $ignoreAnsiDecoration = true)   X-Ref
No description



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