A

Boolean::and() — Method in class Boolean
Boolean::asBool() — Method in class Boolean
Boolean::asInteger() — Method in class Boolean
Boolean::asString() — Method in class Boolean
ArrayUtilities — Class in namespace Keruald\OmniTools\Collections

Callback methods and facades to use directly the methods with arrays.

BaseVector::append() — Method in class BaseVector

Append all elements of the specified iterable to the current vector.

BitsVector::append() — Method in class BitsVector

Append all elements of the specified iterable to the current vector.

MultipleOperation::apply() — Method in class MultipleOperation

Applies the specified callable to each collection item.

WeightedList::add() — Method in class WeightedList
WeightedList::addWeightedValue() — Method in class WeightedList
WeightedList::addFromString() — Method in class WeightedList
WithCollection::any() — Method in class WithCollection

Determines if at least an element of the collection satisfies a condition.

WithCollection::all() — Method in class WithCollection

Determines if all elements of the collection satisfies a condition.

Time::addMinutes() — Method in class Time
Time::addHours() — Method in class Time
AcceptedLanguages — Class in namespace Keruald\OmniTools\HTTP\Requests
$ SocketAddress#address — Property in class SocketAddress
Autoloader — Class in namespace Keruald\OmniTools\Registration

This class offer SPL Autoloader for any PSR-4 namespace or for this library itself.

Autoloader — Class in namespace Keruald\OmniTools\Registration\PSR4

B

Boolean — Class in namespace Keruald\OmniTools\Booleans
BaseCollection — Class in namespace Keruald\OmniTools\Collections

Abstract base class to represent collections like vectors or maps.

BaseMap — Class in namespace Keruald\OmniTools\Collections

Abstract base class to represent hashmaps / associative arrays / dictionaries.

BaseVector — Class in namespace Keruald\OmniTools\Collections

Abstract base class to represent arrays / lists / vectors.

BaseVector::bigrams() — Method in class BaseVector
BitsVector — Class in namespace Keruald\OmniTools\Collections
WithLocalURL::buildUrl() — Method in class WithLocalURL

Gets the URL matching the specified resource.

URL::beautifyQuery() — Method in class URL
URL::beautifyDomain() — Method in class URL
UUID::batchOfUUIDv7() — Method in class UUID

Generate in batch UUIDv7 with monotonicity warranty among them.

C

BaseCollection::count() — Method in class BaseCollection

Count how many elements a collection has.

BaseMap::contains() — Method in class BaseMap

Determine if the specified value exists.

BaseVector::contains() — Method in class BaseVector
BaseVector::count() — Method in class BaseVector

Count how many elements a collection has.

BaseVector::clear() — Method in class BaseVector
BaseVector::chunk() — Method in class BaseVector
BitsVector::copyInteger() — Method in class BitsVector

Copy the bits of the specified integer to the bits vector at the specified offset.

BitsVector::contains() — Method in class BitsVector
Comparable — Class in namespace Keruald\OmniTools\Collections
Comparable::compareTo() — Method in class Comparable
HashMap::contains() — Method in class HashMap

Determine if the specified value exists.

HashMap::count() — Method in class HashMap
HashMap::clear() — Method in class HashMap
TraversableUtilities::count() — Method in class TraversableUtilities
WeightedList::clear() — Method in class WeightedList
WeightedList::count() — Method in class WeightedList
WeightedValue::compareTo() — Method in class WeightedValue
WithCollection::count() — Method in class WithCollection
Time::compareTo() — Method in class Time
TimeRange::countMinutes() — Method in class TimeRange
Propagation::call() — Method in class Propagation

Calls a set of functions with the specified parameters.

Propagation::callOrThrow() — Method in class Propagation

Calls a set of functions with the specified parameters.

WithURL::createLocalURL() — Method in class WithURL

Create a URL object, using the current request server URL for protocol and domain name.

URL::compose() — Method in class URL
IPRange::contains() — Method in class IPRange
IPRange::count() — Method in class IPRange
IPv4Range::contains() — Method in class IPv4Range
IPv4Range::count() — Method in class IPv4Range
IPv6Range::contains() — Method in class IPv6Range
IPv6Range::count() — Method in class IPv6Range
CurrentOS — Class in namespace Keruald\OmniTools\OS

Get information about the current operating system

CurrentProcess — Class in namespace Keruald\OmniTools\OS

Get information about the current process, ie the PHP interpreter.

CallableElement — Class in namespace Keruald\OmniTools\Reflection
CallableElement::countArguments() — Method in class CallableElement
CodeClass — Class in namespace Keruald\OmniTools\Reflection
CodeFile — Class in namespace Keruald\OmniTools\Reflection
CodeFile::canBeIncluded() — Method in class CodeFile
CodeFunction — Class in namespace Keruald\OmniTools\Reflection
CodeMethod — Class in namespace Keruald\OmniTools\Reflection
CodeVariable — Class in namespace Keruald\OmniTools\Reflection
Solver::canResolve() — Method in class Solver
OmniString::countBytes() — Method in class OmniString
OmniString::countCodePoints() — Method in class OmniString
OmniString::countGraphemes() — Method in class OmniString
StringUtilities::contains() — Method in class StringUtilities
SorensenDiceCoefficient::computeFor() — Method in class SorensenDiceCoefficient

Allows to directly compute the coefficient between two strings.

SorensenDiceCoefficient::compute() — Method in class SorensenDiceCoefficient

D

MultipleOperation::do() — Method in class MultipleOperation

Applies the specified callable to each collection item.

DateStamp — Class in namespace Keruald\OmniTools\DateTime
Debugger — Class in namespace Keruald\OmniTools\Debug

Helper methods to debug PHP applications

Directory — Class in namespace Keruald\OmniTools\IO
PSR4Namespace::discover() — Method in class PSR4Namespace

Discover classes in the namespace folder following PSR-4 convention, directly at top-level, ignoring subdirectories.

PSR4Namespace::discoverRecursive() — Method in class PSR4Namespace

Discover classes in the namespace folder following PSR-4 convention, including all subfolders.

PSR4Namespace::discoverAllClasses() — Method in class PSR4Namespace

Discover classes for a specific namespace in a specific folder, following the PSR-4 convention, including all subfolders.

StringUtilities::decodeFromBase64() — Method in class StringUtilities

Decode a string encoded with StringUtilities::encodeInBase64

E

Boolean::equivalence() — Method in class Boolean
Vector::explode() — Method in class Vector

Constructs a new instance of a vector by exploding a string according a specified delimiter.

Err — Class in namespace Keruald\OmniTools\DataTypes\Result
AcceptedLanguages::extractFromHeaders() — Method in class AcceptedLanguages
RemoteAddress::extractRemoteAddressesFromHeaders() — Method in class RemoteAddress

Allows to get all the remote addresses from relevant headers

Directory::exists() — Method in class Directory
File::exists() — Method in class File
Environment — Class in namespace Keruald\OmniTools\OS

Allow accessing environment variables

CodeClass::extractClassName() — Method in class CodeClass
OmniString::endsWith() — Method in class OmniString
OmniString::explode() — Method in class OmniString
StringUtilities::endsWith() — Method in class StringUtilities
StringUtilities::encodeInBase64() — Method in class StringUtilities

Encode a string using a variant of the MIME base64 compatible with URLs.

F

Boolean::false() — Method in class Boolean
BaseCollection::from() — Method in class BaseCollection

Create a new collection instance from the specified iterable.

BaseVector::from() — Method in class BaseVector

Create a new collection instance from the specified iterable.

BaseVector::filter() — Method in class BaseVector

Create a new vector by filtering each element of the vector according the return value of the specified callback function.

BaseVector::flatMap() — Method in class BaseVector
BaseVector::filterKeys() — Method in class BaseVector
BitsVector::fromInteger() — Method in class BitsVector
BitsVector::fromBinaryString() — Method in class BitsVector
BitsVector::fromHexString() — Method in class BitsVector
BitsVector::fromDecoratedHexString() — Method in class BitsVector
BitsVector::fromString() — Method in class BitsVector
HashMap::from() — Method in class HashMap

Converts deeply an element to a map.

HashMap::filter() — Method in class HashMap
HashMap::flatMap() — Method in class HashMap
HashMap::filterKeys() — Method in class HashMap
TraversableUtilities::first() — Method in class TraversableUtilities
TraversableUtilities::firstOr() — Method in class TraversableUtilities
WithCollection::first() — Method in class WithCollection
WithCollection::firstOr() — Method in class WithCollection
RomanNumerals::fromHinduArabic() — Method in class RomanNumerals
Option::from() — Method in class Option

Converts a nullable value to an Option.

DateStamp::fromUnixTime() — Method in class DateStamp
Time::fromMinutes() — Method in class Time
TimeRange::fromDuration() — Method in class TimeRange
UUIDv1TimeStamp::fromUUIDv1() — Method in class UUIDv1TimeStamp
UUIDv1TimeStamp::fromUUIDv6() — Method in class UUIDv1TimeStamp
UUIDv1TimeStamp::fromBits() — Method in class UUIDv1TimeStamp
UUIDv1TimeStamp::fromTimeStamp() — Method in class UUIDv1TimeStamp
UUIDv1TimeStamp::fromUnixTime() — Method in class UUIDv1TimeStamp
UUIDv1TimeStamp::fromDateTime() — Method in class UUIDv1TimeStamp
UUIDv7TimeStamp::fromUUIDv7() — Method in class UUIDv7TimeStamp
UUIDv7TimeStamp::fromBits() — Method in class UUIDv7TimeStamp
UUIDv7TimeStamp::fromInteger() — Method in class UUIDv7TimeStamp
UUIDv7TimeStamp::fromUnixTime() — Method in class UUIDv7TimeStamp
UUIDv7TimeStamp::fromDateTime() — Method in class UUIDv7TimeStamp
AcceptedLanguages::fromServer() — Method in class AcceptedLanguages
RemoteAddress::fromServer() — Method in class RemoteAddress
File — Class in namespace Keruald\OmniTools\IO
File::from() — Method in class File
FileUtilities — Class in namespace Keruald\OmniTools\IO
IP::from() — Method in class IP
IPRange::from() — Method in class IPRange
IPv4::from() — Method in class IPv4
IPv6::from() — Method in class IPv6
IPv6::fromBinaryBits() — Method in class IPv6
SocketAddress::from() — Method in class SocketAddress

Gets new socket address from specified IP, port and protocol information.

CodeClass::from() — Method in class CodeClass
CodeMethod::fromReflectionMethod() — Method in class CodeMethod
CodeVariable::from() — Method in class CodeVariable

G

BaseMap::get() — Method in class BaseMap

Get the value at the specified key.

BaseMap::getOr() — Method in class BaseMap

Get the value at the specified key.

BaseVector::get() — Method in class BaseVector
BaseVector::getOr() — Method in class BaseVector
BaseVector::getIterator() — Method in class BaseVector

Retrieve an iterator on the elements of the vector.

HashMap::get() — Method in class HashMap

Get the value at the specified key.

HashMap::getOr() — Method in class HashMap

Get the value at the specified key.

HashMap::getIterator() — Method in class HashMap
SharedBag::getBag() — Method in class SharedBag
WeightedList::getHeaviest() — Method in class WeightedList
WeightedList::getIterator() — Method in class WeightedList
WeightedValue::getWeight() — Method in class WeightedValue
WeightedValue::getValue() — Method in class WeightedValue
RomanNumerals::getHinduArabicTable() — Method in class RomanNumerals

Provides a canonical table with hindu arabic numerals as keys, and Roman numerals as values.

None::getValue() — Method in class None
Option::getValue() — Method in class Option
Some::getValue() — Method in class Some
Err::getValue() — Method in class Err
Err::getError() — Method in class Err
Ok::getValue() — Method in class Ok
Result::getValue() — Method in class Result
Time::getHours() — Method in class Time
Time::getMinutes() — Method in class Time
TimeRange::getStart() — Method in class TimeRange
TimeRange::getEnd() — Method in class TimeRange
AcceptedLanguages::getLanguageCodes() — Method in class AcceptedLanguages
RemoteAddress::getClientAddress() — Method in class RemoteAddress
RemoteAddress::getAll() — Method in class RemoteAddress
WithAcceptedLanguages::getAcceptedLanguages() — Method in class WithAcceptedLanguages

Gets the languages accepted by the browser, by order of priority.

WithLocalURL::getCurrentUrl() — Method in class WithLocalURL

Gets $_SERVER["PATH_INFO"] or computes the equivalent if not defined.

WithLocalURL::getCurrentUrlFragments() — Method in class WithLocalURL

Gets an array of url fragments to be processed by controller

WithRemoteAddress::getRemoteAddress() — Method in class WithRemoteAddress

Gets remote IP address.

WithURL::getServerURL() — Method in class WithURL
WithURL::getPort() — Method in class WithURL
WithURL::getServerName() — Method in class WithURL
WithURL::getScheme() — Method in class WithURL
URL::getProtocol() — Method in class URL
URL::getDomain() — Method in class URL
URL::getQuery() — Method in class URL
Directory::getPath() — Method in class Directory
Directory::getPathInfo() — Method in class Directory
Directory::getParentDirectory() — Method in class Directory
Directory::getDirectoryName() — Method in class Directory
Directory::glob() — Method in class Directory

Gets files in the directory matching a specific pattern, using the PHP glob function.

Directory::getSubdirectories() — Method in class Directory
File::getPath() — Method in class File
File::getPathInfo() — Method in class File
File::getDirectory() — Method in class File
File::getFileName() — Method in class File
File::getFileNameWithoutExtension() — Method in class File
File::getExtension() — Method in class File
FileUtilities::getExtension() — Method in class FileUtilities
Random::generateHexHash() — Method in class Random
Random::generateString() — Method in class Random
Random::generateCharacter() — Method in class Random
Random::generateIdentifier() — Method in class Random
Random::generateIntegerMonotonicSeries() — Method in class Random
UUID::getVersion() — Method in class UUID

Determine the version of the specified UUID.

UUID::getVariant() — Method in class UUID

Determine the variant of the specified UUID.

IP::getDomain() — Method in class IP
IPRange::getBase() — Method in class IPRange
IPRange::getNetworkBits() — Method in class IPRange
IPRange::getFirst() — Method in class IPRange
IPRange::getLast() — Method in class IPRange
IPRange::getLoopbackRanges() — Method in class IPRange
IPv4::getDomain() — Method in class IPv4
IPv4Range::getBase() — Method in class IPv4Range
IPv4Range::getNetworkBits() — Method in class IPv4Range
IPv4Range::getFirst() — Method in class IPv4Range
IPv4Range::getLast() — Method in class IPv4Range
IPv6::getDomain() — Method in class IPv6
IPv6Range::getBase() — Method in class IPv6Range
IPv6Range::getNetworkBits() — Method in class IPv6Range
IPv6Range::getFirst() — Method in class IPv6Range
IPv6Range::getLast() — Method in class IPv6Range
CurrentProcess::getUsername() — Method in class CurrentProcess

Determine the username of the current process, ie the PHP interpreter.

Environment::get() — Method in class Environment

Get a specific environment variable.

Environment::getOr() — Method in class Environment

Get a specific environment variable, or a default value if it doesn't exist.

CallableElement::getReturnType() — Method in class CallableElement

Gets the return type of the callable.

CodeClass::getClassName() — Method in class CodeClass
CodeClass::getShortClassName() — Method in class CodeClass
CodeClass::getConstructor() — Method in class CodeClass
CodeClass::getConstructorArgumentsTypes() — Method in class CodeClass
CodeFunction::getParameterType() — Method in class CodeFunction
CodeMethod::getArgumentsType() — Method in class CodeMethod
CodeVariable::getType() — Method in class CodeVariable
Type::getTypeOf() — Method in class Type
Autoloader::getLibraryPath() — Method in class Autoloader

Gets the Keruald OmniTools library path.

Autoloader::getSolver() — Method in class Autoloader
Solver::getPathFor() — Method in class Solver
OmniString::getBytes() — Method in class OmniString
OmniString::getCodePoints() — Method in class OmniString
OmniString::getGraphemes() — Method in class OmniString
OmniString::getChars() — Method in class OmniString
OmniString::getBigrams() — Method in class OmniString
OmniString::getValue() — Method in class OmniString
StringPad::getInput() — Method in class StringPad
StringPad::getPadLength() — Method in class StringPad
StringPad::getPadString() — Method in class StringPad
StringPad::getPadType() — Method in class StringPad
WithEncoding::getEncoding() — Method in class WithEncoding

H

BaseMap::has() — Method in class BaseMap

Determine if the specified key exists.

HashMap — Class in namespace Keruald\OmniTools\Collections

An associative array allowing the use of chained

HashMap::has() — Method in class HashMap

Determine if the specified key exists.

RemoteAddress::has() — Method in class RemoteAddress
Environment::has() — Method in class Environment

Determine if an environment variable exists.

CallableElement::hasReturnType() — Method in class CallableElement

Determines if the callable has an explicit return type and that return type matches the specified type.

CodeVariable::hasType() — Method in class CodeVariable

I

Boolean::implication() — Method in class Boolean
Boolean::isEqualsTo() — Method in class Boolean
BaseCollection::isEmpty() — Method in class BaseCollection

Determine if a collection is empty.

$ BaseVector#items — Property in class BaseVector
BaseVector::isEmpty() — Method in class BaseVector

Determine if a collection is empty.

BaseVector::implode() — Method in class BaseVector
HashMap::isEmpty() — Method in class HashMap

Determine if a collection is empty.

MultipleOperation::isOk() — Method in class MultipleOperation

Determines if ALL the operations are successful so far

TraversableUtilities::isCountable() — Method in class TraversableUtilities
None::isSome() — Method in class None
None::isNone() — Method in class None
Option::isSome() — Method in class Option
Option::isNone() — Method in class Option
Some::isSome() — Method in class Some
Some::isNone() — Method in class Some
Err::isOK() — Method in class Err
Err::isError() — Method in class Err
Ok::isOK() — Method in class Ok
Ok::isError() — Method in class Ok
Result::isOK() — Method in class Result
Result::isError() — Method in class Result
RemoteAddress::isFromLocalHost() — Method in class RemoteAddress
WithRemoteAddress::isFromLocalHost() — Method in class WithRemoteAddress
WithURL::isHTTPS() — Method in class WithURL
Directory::isReadable() — Method in class Directory
Directory::isWritable() — Method in class Directory
File::isReadable() — Method in class File
UUID::isUUID() — Method in class UUID

Determine if the specified string is a valid UUID

IP — Class in namespace Keruald\OmniTools\Network
IP::isIP() — Method in class IP
IP::isIPv4() — Method in class IP
IP::isIPv6() — Method in class IP
IP::isLoopback() — Method in class IP
IPRange — Class in namespace Keruald\OmniTools\Network
IPv4 — Class in namespace Keruald\OmniTools\Network
IPv4::isValid() — Method in class IPv4
IPv4Range — Class in namespace Keruald\OmniTools\Network
IPv6 — Class in namespace Keruald\OmniTools\Network
IPv6::isValid() — Method in class IPv6
IPv6::increment() — Method in class IPv6
IPv6::isNormalized() — Method in class IPv6
IPv6Range — Class in namespace Keruald\OmniTools\Network
SocketAddress::isOpen() — Method in class SocketAddress

Determines if a TCP socket is open

CurrentOS::isWindows() — Method in class CurrentOS

Determine if the system runs Windows, including if PHP is built for Cygwin (but not WSL)

CurrentOS::isPureWindows() — Method in class CurrentOS

Determine if the system runs Windows, with PHP built natively (ie not for Cygwin).

CurrentOS::isBSD() — Method in class CurrentOS
CurrentProcess::isPrivileged() — Method in class CurrentProcess

Determine if the current process, ie the PHP interpreter, runs as root on UNIX systems or in elevated mode on Windows.

StringPad::isValidPadType() — Method in class StringPad
StringUtilities::isSupportedEncoding() — Method in class StringUtilities

L

RemoteAddress::listRemoteAddressHeaders() — Method in class RemoteAddress
OmniString::len() — Method in class OmniString

M

BaseVector::map() — Method in class BaseVector

Create a new vector by applying a callback on each element of the vector.

BaseVector::mapKeys() — Method in class BaseVector
BaseVector::mapToHashMap() — Method in class BaseVector

Allows to map each vector elements into key/value pairs and collect them into a HashMap.

HashMap::merge() — Method in class HashMap

Merge the specified map with the current map.

HashMap::map() — Method in class HashMap
HashMap::mapKeys() — Method in class HashMap
HashMap::mapValuesAndKeys() — Method in class HashMap
HashMap::mapToVector() — Method in class HashMap
MultipleOperation — Class in namespace Keruald\OmniTools\Collections

Allows to run a callable on each item of a collection.

None::map() — Method in class None
Option::map() — Method in class Option
Some::map() — Method in class Some
Err::map() — Method in class Err
Err::mapErr() — Method in class Err
Ok::map() — Method in class Ok
Ok::mapErr() — Method in class Ok
Result::map() — Method in class Result
Result::mapErr() — Method in class Result

N

Boolean::not() — Method in class Boolean
BaseVector::ngrams() — Method in class BaseVector
BitsVector::new() — Method in class BitsVector
None — Class in namespace Keruald\OmniTools\DataTypes\Option
TimeRange::normalize() — Method in class TimeRange
UUIDv1TimeStamp::now() — Method in class UUIDv1TimeStamp
UUIDv7TimeStamp::now() — Method in class UUIDv7TimeStamp
URL::normalizeQuery() — Method in class URL
URL::normalizeDomain() — Method in class URL
Random::normalizeFormat() — Method in class Random
IPv6::normalize() — Method in class IPv6
$ Port#number — Property in class Port
CodeClass::newInstanceFromServices() — Method in class CodeClass

This method can be used for dependency injection to build a class, like a controller in a MVC model, from a services' container.

O

Boolean::or() — Method in class Boolean
BaseMap::offsetExists() — Method in class BaseMap
BaseMap::offsetGet() — Method in class BaseMap
BaseMap::offsetSet() — Method in class BaseMap

Assign a value to the specified offset

BaseMap::offsetUnset() — Method in class BaseMap
BaseVector::offsetExists() — Method in class BaseVector
BaseVector::offsetGet() — Method in class BaseVector
BaseVector::offsetSet() — Method in class BaseVector
BaseVector::offsetUnset() — Method in class BaseVector
BitsVector::offsetSet() — Method in class BitsVector
None::orElse() — Method in class None
Option — Class in namespace Keruald\OmniTools\DataTypes\Option
Option::orElse() — Method in class Option
Some::orElse() — Method in class Some
Err::orElse() — Method in class Err
Ok — Class in namespace Keruald\OmniTools\DataTypes\Result
Ok::orElse() — Method in class Ok
Result::orElse() — Method in class Result
TimeRange::overlapsWith() — Method in class TimeRange
OmniString — Class in namespace Keruald\OmniTools\Strings\Multibyte

Represents a multibyte string and perform operations with the grapheme library for UTF-8 encoding, and mbstring for other encodings.

P

BaseVector::push() — Method in class BaseVector
BitsVector::pad() — Method in class BitsVector

Pad the vector with 0 at the leftmost position ("zerofill")

BitsVector::push() — Method in class BitsVector
WeightedList::parse() — Method in class WeightedList
WeightedValue::parse() — Method in class WeightedValue
DateStamp::parse() — Method in class DateStamp
Time::parse() — Method in class Time
TimeRange::parse() — Method in class TimeRange
Debugger::printVariable() — Method in class Debugger

Print human-readable information about a variable, wrapped in a <pre> block.

Debugger::printVariableAndDie() — Method in class Debugger

Print human-readable information about a variable, wrapped in a <pre> block, then halt execution.

Propagation — Class in namespace Keruald\OmniTools\Events

Static class providing helper methods to propagate events.

Random::pickLetter() — Method in class Random
Random::pickDigit() — Method in class Random
Port — Class in namespace Keruald\OmniTools\Network
$ Port#protocol — Property in class Port
$ SocketAddress#port — Property in class SocketAddress
PSR4Namespace — Class in namespace Keruald\OmniTools\Registration\PSR4

Represent a PSR-4 namespace. Allow discovering classes.

OmniString::pad() — Method in class OmniString
StringPad::pad() — Method in class StringPad
StringUtilities::pad() — Method in class StringUtilities

Pads a multibyte string to a certain length with another string

R

BaseVector::replace() — Method in class BaseVector

Replace a part of the vector by the specified iterable.

BitsVector::random() — Method in class BitsVector
Vector::range() — Method in class Vector
RomanNumerals — Class in namespace Keruald\OmniTools\Culture\Rome
Result — Class in namespace Keruald\OmniTools\DataTypes\Result
Debugger::register() — Method in class Debugger

Populate the global namespace with print_r() and dieprint_r() functions.

RemoteAddress — Class in namespace Keruald\OmniTools\HTTP\Requests
Request — Class in namespace Keruald\OmniTools\HTTP\Requests
Random — Class in namespace Keruald\OmniTools\Identifiers
UUID::reformat() — Method in class UUID

Reformat a 32 or 36 hexadecimal string to a lowercase 36 uuid string.

Autoloader::registerPSR4() — Method in class Autoloader

Register an autoloader for a PSR-4 namespace, enabling fosr classes traits and interfaces in that namespace to be automatically loaded if they are not yet defined.

Autoloader::register() — Method in class Autoloader
Solver::resolve() — Method in class Solver

S

BaseMap::set() — Method in class BaseMap

Set the specified value at the specified key.

BaseVector::set() — Method in class BaseVector
BaseVector::slice() — Method in class BaseVector
BitsVector::shapeCapacity() — Method in class BitsVector

Truncate or pad the array as needed to ensure a specified length.

BitsVector::set() — Method in class BitsVector
HashMap::set() — Method in class HashMap

Set the specified value at the specified key.

SharedBag — Class in namespace Keruald\OmniTools\Collections

A shared bag is a collection of key and values, which implements a monostate pattern, i.e. there is only one bag, which can be accessed though an arbitrary amount of SharedBag instances.

WeightedValue::setWeight() — Method in class WeightedValue
WeightedValue::setValue() — Method in class WeightedValue
Some — Class in namespace Keruald\OmniTools\DataTypes\Option
Some::setValue() — Method in class Some
Err::setError() — Method in class Err
Ok::setValue() — Method in class Ok
Time::setHours() — Method in class Time
Time::setMinutes() — Method in class Time
TimeRange::setStart() — Method in class TimeRange
TimeRange::setEnd() — Method in class TimeRange
URL::setProtocol() — Method in class URL
URL::setDomain() — Method in class URL
URL::setQuery() — Method in class URL
Directory::setPath() — Method in class Directory
File::setPath() — Method in class File
IPRange::setBase() — Method in class IPRange
IPRange::setNetworkBits() — Method in class IPRange
IPv4Range::setBase() — Method in class IPv4Range
IPv4Range::setNetworkBits() — Method in class IPv4Range
IPv6Range::setBase() — Method in class IPv6Range
IPv6Range::setNetworkBits() — Method in class IPv6Range
SocketAddress — Class in namespace Keruald\OmniTools\Network
Autoloader::selfRegister() — Method in class Autoloader

Register the Keruald OmniTools PSR-4 classes.

Solver — Class in namespace Keruald\OmniTools\Registration\PSR4
OmniString::startsWith() — Method in class OmniString
OmniString::setValue() — Method in class OmniString
StringPad — Class in namespace Keruald\OmniTools\Strings\Multibyte
StringPad::setInput() — Method in class StringPad
StringPad::setPadLength() — Method in class StringPad
StringPad::setPadString() — Method in class StringPad
StringPad::setPadType() — Method in class StringPad
StringPad::setBothPad() — Method in class StringPad
StringPad::setLeftPad() — Method in class StringPad
StringPad::setRightPad() — Method in class StringPad
StringUtilities — Class in namespace Keruald\OmniTools\Strings\Multibyte
StringUtilities::startsWith() — Method in class StringUtilities
WithEncoding::setEncoding() — Method in class WithEncoding
SorensenDiceCoefficient — Class in namespace Keruald\OmniTools\Strings

Computes the Sørensen–Dice coefficient, a statistic used to evaluate the similarity between two strings.

T

Boolean::true() — Method in class Boolean
Boolean::toScalar() — Method in class Boolean
ArrayUtilities::toIntegers() — Method in class ArrayUtilities

Cast the elements of an array to integers.

ArrayUtilities::toIntegerCallback() — Method in class ArrayUtilities

Callback method to cast elements into integers.

BaseCollection::toArray() — Method in class BaseCollection

Convert the collection into a PHP array.

BaseVector::toArray() — Method in class BaseVector

Convert the collection into a PHP array.

BaseVector::trigrams() — Method in class BaseVector
BitsVector::toBinaryString() — Method in class BitsVector
BitsVector::toInteger() — Method in class BitsVector
BitsVector::toHexString() — Method in class BitsVector
BitsVector::toBytesArray() — Method in class BitsVector
BitsVector::truncate() — Method in class BitsVector
HashMap::toArray() — Method in class HashMap

Gets a copy of the internal map.

TraversableUtilities — Class in namespace Keruald\OmniTools\Collections
Vector::toIntegers() — Method in class Vector
WeightedList::toSortedArray() — Method in class WeightedList
WithCollection::toArray() — Method in class WithCollection
DateStamp::toUnixTime() — Method in class DateStamp
DateStamp::toDateTime() — Method in class DateStamp
DateStamp::toShortString() — Method in class DateStamp
Time — Class in namespace Keruald\OmniTools\DateTime
Time::toMinutes() — Method in class Time
TimeRange — Class in namespace Keruald\OmniTools\DateTime
UUIDv1TimeStamp::toBitsVector() — Method in class UUIDv1TimeStamp
UUIDv1TimeStamp::toUnixTime() — Method in class UUIDv1TimeStamp
UUIDv7TimeStamp::toBitsVector() — Method in class UUIDv7TimeStamp
Environment::tryGet() — Method in class Environment

Try to get an environment value

CodeFile::tryInclude() — Method in class CodeFile
Type — Class in namespace Keruald\OmniTools\Reflection

U

BaseMap::unset() — Method in class BaseMap

This method returns the instance itself, so you can use it in fluent pattern.

BaseVector::unset() — Method in class BaseVector
BaseVector::update() — Method in class BaseVector

Append all elements of the specified iterable to the current vector.

BitsVector::update() — Method in class BitsVector

Append all elements of the specified iterable to the current vector.

HashMap::unset() — Method in class HashMap

This method returns the instance itself, so you can use it in fluent pattern.

HashMap::update() — Method in class HashMap

Merge the specified map with the current bag.

UUIDv1TimeStamp — Class in namespace Keruald\OmniTools\DateTime
UUIDv7TimeStamp — Class in namespace Keruald\OmniTools\DateTime
URL — Class in namespace Keruald\OmniTools\HTTP
UUID — Class in namespace Keruald\OmniTools\Identifiers

Allow generating and representing UUID. This static class contains helper methods to generate, validate, format and convert UUID.

UUID::UUIDv1() — Method in class UUID

Generate a UUIDv1, as defined in RFC 4122.

UUID::UUIDv1FromValues() — Method in class UUID

Generate a UUIDv1, as defined in RFC 4122, from specified values.

UUID::UUIDv4() — Method in class UUID

Generate a UUIDv4, as defined in RFC 4122.

UUID::UUIDv4WithoutHyphens() — Method in class UUID

Generate a UUIDv4, as defined in RFC 4122, without hyphens.

UUID::UUIDv6() — Method in class UUID

Generate a UUIDv6, as defined in draft-peabody-dispatch-new-uuid-format-03.

UUID::UUIDv6FromValues() — Method in class UUID

Generate a UUIDv6, as defined in draft-peabody-dispatch-new-uuid-format-03, from known values.

UUID::UUIDv1ToUUIDv6() — Method in class UUID

Convert RFC 4122 UUIDv1 to proposed draft UUIDv6.

UUID::UUIDv6ToUUIDv1() — Method in class UUID

Convert proposed draft UUIDv6 to RFC 4122 UUIDv1.

UUID::UUIDv7() — Method in class UUID

Generate a UUIDv7, as defined in draft-peabody-dispatch-new-uuid-format-03.

UUID::UUIDv7FromBits() — Method in class UUID

Generate a UUIDv7 for known timestamp and known random values.

UUID::UUIDv7FromValues() — Method in class UUID

Generate a UUIDv7 for known timestamp and known random values, with the timestamp expressed as a 48-bits signed integer.

UUID::UUIDv8() — Method in class UUID

Generate a UUIDv8 for specified custom values.

V

Vector — Class in namespace Keruald\OmniTools\Collections

A generic vector implementation to accept any kind of value.

W

WeightedList — Class in namespace Keruald\OmniTools\Collections
WeightedValue — Class in namespace Keruald\OmniTools\Collections
WithCollection — Class in namespace Keruald\OmniTools\Collections
UUIDv1TimeStamp::writeToUUIDv1() — Method in class UUIDv1TimeStamp
UUIDv1TimeStamp::writeToUUIDv6() — Method in class UUIDv1TimeStamp
WithAcceptedLanguages — Class in namespace Keruald\OmniTools\HTTP\Requests
WithLocalURL — Class in namespace Keruald\OmniTools\HTTP\Requests
WithLocalURL::withBaseUrl() — Method in class WithLocalURL
WithLocalURL::withSiteUrl() — Method in class WithLocalURL
WithRemoteAddress — Class in namespace Keruald\OmniTools\HTTP\Requests
WithURL — Class in namespace Keruald\OmniTools\HTTP\Requests
WithEncoding — Class in namespace Keruald\OmniTools\Strings\Multibyte

X

Boolean::xor() — Method in class Boolean

_

Boolean::__construct() — Method in class Boolean
BaseVector::__construct() — Method in class BaseVector
BitsVector::__construct() — Method in class BitsVector
HashMap::__construct() — Method in class HashMap
MultipleOperation::__construct() — Method in class MultipleOperation
WeightedList::__construct() — Method in class WeightedList
WeightedValue::__construct() — Method in class WeightedValue
Some::__construct() — Method in class Some
Err::__construct() — Method in class Err
Ok::__construct() — Method in class Ok
DateStamp::__construct() — Method in class DateStamp
DateStamp::__toString() — Method in class DateStamp
Time::__construct() — Method in class Time
Time::__toString() — Method in class Time
TimeRange::__construct() — Method in class TimeRange
AcceptedLanguages::__construct() — Method in class AcceptedLanguages
RemoteAddress::__construct() — Method in class RemoteAddress
URL::__construct() — Method in class URL
URL::__toString() — Method in class URL
Directory::__construct() — Method in class Directory
File::__construct() — Method in class File
IP::__toString() — Method in class IP
IPv4::__construct() — Method in class IPv4
IPv4::__toString() — Method in class IPv4
IPv4Range::__construct() — Method in class IPv4Range
IPv6::__construct() — Method in class IPv6
IPv6::__toString() — Method in class IPv6
IPv6Range::__construct() — Method in class IPv6Range
Port::__construct() — Method in class Port
SocketAddress::__construct() — Method in class SocketAddress
CallableElement::__construct() — Method in class CallableElement
CodeClass::__construct() — Method in class CodeClass
Autoloader::__construct() — Method in class Autoloader
PSR4Namespace::__construct() — Method in class PSR4Namespace
Solver::__construct() — Method in class Solver
OmniString::__construct() — Method in class OmniString
OmniString::__toString() — Method in class OmniString
StringPad::__construct() — Method in class StringPad
SorensenDiceCoefficient::__construct() — Method in class SorensenDiceCoefficient