__(string $singular, mixed $args = null): string|nullReturns a translated string if one is found; Otherwise, the submitted message.
string
                $singular
                              Text to translate.
mixed
                $args
                                  optional
                              Array with arguments or multiple arguments in function.
string|nullThe translated text, or null if invalid.
__d(string $domain, string $msg, mixed $args = null): string|nullAllows you to override the current domain for a single message lookup.
string
                $domain
                              Domain.
string
                $msg
                              String to translate.
mixed
                $args
                                  optional
                              Array with arguments or multiple arguments in function.
string|nullTranslated string.
__dn(string $domain, string $singular, string $plural, int $count, mixed $args = null): string|nullAllows you to override the current domain for a single plural message lookup. Returns correct plural form of message identified by $singular and $plural for count $count from domain $domain.
string
                $domain
                              Domain.
string
                $singular
                              Singular string to translate.
string
                $plural
                              Plural.
int
                $count
                              Count.
mixed
                $args
                                  optional
                              Array with arguments or multiple arguments in function.
string|nullPlural form of translated string.
__dx(string $domain, string $context, string $msg, mixed $args = null): string|nullAllows you to override the current domain for a single message lookup. The context is a unique identifier for the translations string that makes it unique within the same domain.
string
                $domain
                              Domain.
string
                $context
                              Context of the text.
string
                $msg
                              String to translate.
mixed
                $args
                                  optional
                              Array with arguments or multiple arguments in function.
string|nullTranslated string.
__dxn(string $domain, string $context, string $singular, string $plural, int $count, mixed $args = null): string|nullReturns correct plural form of message identified by $singular and $plural for count $count. Allows you to override the current domain for a single message lookup. The context is a unique identifier for the translations string that makes it unique within the same domain.
string
                $domain
                              Domain.
string
                $context
                              Context of the text.
string
                $singular
                              Singular text to translate.
string
                $plural
                              Plural text.
int
                $count
                              Count.
mixed
                $args
                                  optional
                              Array with arguments or multiple arguments in function.
string|nullPlural form of translated string.
__n(string $singular, string $plural, int $count, mixed $args = null): string|nullReturns correct plural form of message identified by $singular and $plural for count $count. Some languages have more than one form for plural messages dependent on the count.
string
                $singular
                              Singular text to translate.
string
                $plural
                              Plural text.
int
                $count
                              Count.
mixed
                $args
                                  optional
                              Array with arguments or multiple arguments in function.
string|nullPlural form of translated string, or null if invalid.
__x(string $context, string $singular, mixed $args = null): string|nullReturns a translated string if one is found; Otherwise, the submitted message. The context is a unique identifier for the translations string that makes it unique within the same domain.
string
                $context
                              Context of the text.
string
                $singular
                              Text to translate.
mixed
                $args
                                  optional
                              Array with arguments or multiple arguments in function.
string|nullTranslated string.
__xn(string $context, string $singular, string $plural, int $count, mixed $args = null): string|nullReturns correct plural form of message identified by $singular and $plural for count $count. Some languages have more than one form for plural messages dependent on the count. The context is a unique identifier for the translations string that makes it unique within the same domain.
string
                $context
                              Context of the text.
string
                $singular
                              Singular text to translate.
string
                $plural
                              Plural text.
int
                $count
                              Count.
mixed
                $args
                                  optional
                              Array with arguments or multiple arguments in function.
string|nullPlural form of translated string.
breakpoint(): stringCommand to return the eval-able code to startup PsySH in interactive debugger Works the same way as eval(\Psy\sh()); psy/psysh must be loaded in your project
stringcollection(Traversable|array $items): Cake\Collection\CollectionReturns a new Cake\Collection\Collection object wrapping the passed argument.
Traversable|array
                $items
                              The items from which the collection will be built.
Cake\Collection\Collectiondebug(mixed $var, bool|null $showHtml = null, bool $showFrom = true): voidPrints out debug information about given variable.
Only runs if debug level is greater than zero.
mixed
                $var
                              Variable to show debug information for.
bool|null
                $showHtml
                                  optional
                              If set to true, the method prints the debug data in a browser-friendly way.
bool
                $showFrom
                                  optional
                              If set to true, the method prints from where the function was called.
voidenv(string $key, string|null $default = null): string|nullGets an environment variable from available sources, and provides emulation for unsupported or inconsistent environment variables (i.e. DOCUMENT_ROOT on IIS, or SCRIPT_NAME in CGI mode). Also exposes some additional custom environment information.
string
                $key
                              Environment variable name.
string|null
                $default
                                  optional
                              Specify a default value in case the environment variable is not defined.
string|nullEnvironment variable setting.
h(string|array|object $text, bool $double = true, string|null $charset = null): stringConvenience method for htmlspecialchars.
string|array|object
                $text
                              Text to wrap through htmlspecialchars. Also works with arrays, and objects.
Arrays will be mapped and have all their elements escaped. Objects will be string cast if they
implement a __toString method. Otherwise the class name will be used.
bool
                $double
                                  optional
                              Encode existing html entities.
string|null
                $charset
                                  optional
                              Character set to use when escaping. Defaults to config value in mb_internal_encoding()
or 'UTF-8'.
stringWrapped text.
json_last_error_msg(): stringProvides the fallback implementation of json_last_error_msg() available in PHP 5.5 and above.
stringError message.
namespaceSplit(string $class): arraySplit the namespace from the classname.
Commonly used like list($namespace, $className) = namespaceSplit($class);.
string
                $class
                              The full class name, ie Cake\Core\App.
arrayArray with 2 indexes. 0 => namespace, 1 => classname.
pj(mixed $var): voidjson pretty print convenience function.
In terminals this will act similar to using json_encode() with JSON_PRETTY_PRINT directly, when not run on cli will also wrap
 tags around the output of given variable. Similar to pr().
        
                  Parameters
          
          
                          - 
                mixed$var
- Variable to print out. 
Returns
          
            void
                      
        
        
                  See Also
          
                          pr()
                      
        
                  Links
          
                          http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#pj
                      
              pluginSplit(string $name, bool $dotAppend = false, string|null $plugin = null): arraySplits a dot syntax plugin name into its plugin and class name. If $name does not have a dot, then index 0 will be null.
Commonly used like
list($plugin, $name) = pluginSplit($name);string
                $name
                              The name you want to plugin split.
bool
                $dotAppend
                                  optional
                              Set to true if you want the plugin to have a '.' appended to it.
string|null
                $plugin
                                  optional
                              Optional default plugin to use if no plugin is found. Defaults to null.
arrayArray with 2 indexes. 0 => plugin name, 1 => class name.
pr(mixed $var): voidprint_r() convenience function.
In terminals this will act similar to using print_r() directly, when not run on cli print_r() will also wrap
 tags around the output of given variable. Similar to debug().
        
                  Parameters
          
          
                          - 
                mixed$var
- Variable to print out. 
Returns
          
            void
                      
        
        
                  See Also
          
                          debug()
                      
        
                  Links
          
                          http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#pr
                      
              stackTrace(array $options = []): mixedOutputs a stack trace based on the supplied options.
depth - The number of stack frames to return. Defaults to 999args - Should arguments for functions be shown? If true, the arguments for each method call
will be displayed.start - The stack frame to start generating a trace from. Defaults to 1array
                $options
                                  optional
                              Format for outputting stack trace
mixedFormatted stack trace