projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #22393 from eileenmcnaughton/no_ref
[civicrm-core.git]
/
Civi.php
diff --git
a/Civi.php
b/Civi.php
index a018bb54d9d2ef2ff07fd2f682688783a3b13de7..f087d19c8d6b00ceefb777d1b1d81c86d94ef44a 100644
(file)
--- a/
Civi.php
+++ b/
Civi.php
@@
-1,5
+1,7
@@
<?php
<?php
+use Civi\Core\Format;
+
/**
* Class Civi
*
/**
* Class Civi
*
@@
-103,6
+105,15
@@
class Civi {
return \Civi\Core\Container::getBootService('paths');
}
return \Civi\Core\Container::getBootService('paths');
}
+ /**
+ * Obtain the formatting object.
+ *
+ * @return \Civi\Core\Format
+ */
+ public static function format(): Format {
+ return new Civi\Core\Format();
+ }
+
/**
* Fetch a service from the container.
*
/**
* Fetch a service from the container.
*