mirror of
https://gh.wpcy.net/https://github.com/rilustrisimo/freescout-support.git
synced 2026-04-30 14:42:23 +08:00
27 lines
463 B
PHP
27 lines
463 B
PHP
<?php
|
|
|
|
/**
|
|
* Shortcut alias to creating an Underscore object
|
|
*
|
|
* @param mixed $type A scalar type to wrap
|
|
*
|
|
* @return \Underscore\Underscore
|
|
*/
|
|
if ( ! function_exists('underscore')) {
|
|
function underscore($type) {
|
|
return new Underscore\Underscore($type);
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Shortcut alias for underscore()
|
|
*
|
|
* @param mixed $type
|
|
*
|
|
* @return \Underscore\Underscore
|
|
*/
|
|
if (!function_exists('__')) {
|
|
function __($type) {
|
|
return underscore($type);
|
|
}
|
|
}
|