- Queries
- All Atoms
- Search
- Advanced Search
Diviner All Atoms
All Atoms
All Atoms
- Encode a message for transmission over the channel. The message should be any serializable as JSON.
- Method
- A @{class:PhutilChannelChannel} which wraps some other channel and provides metrics about its use (e.g., bytes read and bytes written).
- Class
- Method
- Method
- Method
- Get the elapsed wall time since this channel opened.
- Method
- Get the number of bytes that have been read from the channel. This excludes any bytes which have been received but not actually read by anything, and thus may underreport compared to actual activity on the wire.
- Method
- Get the number of bytes that have been written to the channel. This includes any bytes which have been buffered but not actually transmitted, and thus may overreport compared to actual activity on the wire.
- Method
- Method
- Method
- Serialize PHP values and objects into a human-readable format, useful for displaying errors.
- Class
- Adds indentation to the beginning of every line starting from `$first_line`.
- Method
- Implementation for @{method:printShallow}.
- Method
- Dump some debug output about an object's members without the potential recursive explosion of verbosity that comes with `print_r()`.
- Method
- Print a concise, human readable representation of a value.
- Method
- Given a value, makes the best attempt at returning a string representation of that value suitable for printing. This method returns a //complete// representation of the value; use @{method:printShort} or @{method:printShallow} to summarize values.
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Class
- Method
- Format number with grouped thousands and optional decimal part. Requires translations of '.' (decimal point) and ',' (thousands separator). Both these translations must be 1 byte long with PHP < 5.4.0.
- Method
- Translate date formatted by `$date->format()`.
- Method
- Method
- Method
- Add translations which will be later used by @{method:translate}. The parameter is an array of strings (for simple translations) or arrays (for translations with variants). The number of items in the array is language specific. It is `array($singular, $plural)` for English.
- Method
- Method
- Method
- Method
- Method
- Method
- A picture is worth a thousand words.
- Class
- Method
- Method
- Method
- Method
- Method
- Locale for "French (France)".
- Class
- Method
- Method
- The Korean (Republic of Korea) Locale
- Class
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- A test locale which transforms strings into uppercase.
- Class
- Method
- Method
- Method
- Method
- Method
- Serious, legitimate British English locale.
- Class
- Method
- Method
- Method
- Locale for "Czech (Czech Republic)".
- Class
- Method
- Method
- Method
- The Spanish (Spain) Locale
- Class
- Method
- Method
- Locale for "Portuguese (Brazil)".
- Class
- Method
- Method
- Locale for "Portuguese (Portugal)".
- Class
- Method
- Method
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0