Home
last modified time | relevance | path

Searched refs:formatter (Results 1 – 25 of 46) sorted by relevance

12

/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/Extension/
H A DIntl.php55 $formatter = IntlDateFormatter::create(
64 return $formatter->format($date->getTimestamp());
67 $formatter = IntlDateFormatter::create(
76 return $formatter->format($date->getTimestamp());
89 $formatter = twig_get_number_formatter($locale, $style);
95 return $formatter->format($number, $typeValues[$type]);
102 return $formatter->formatCurrency($number, $currency);
115 static $formatter, $currentStyle;
119 if ($formatter && $formatter->getLocale() === $locale && $currentStyle === $style) {
122 return $formatter;
[all …]
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DFormattableHandlerTrait.php27 protected $formatter; variable
32 public function setFormatter(FormatterInterface $formatter): HandlerInterface argument
34 $this->formatter = $formatter;
44 if (!$this->formatter) {
45 $this->formatter = $this->getDefaultFormatter();
48 return $this->formatter;
H A DPsrHandler.php39 protected $formatter; variable in Monolog\\Handler\\PsrHandler
60 if ($this->formatter) {
61 $formatted = $this->formatter->format($record);
73 * @param FormatterInterface $formatter
75 public function setFormatter(FormatterInterface $formatter): HandlerInterface argument
77 $this->formatter = $formatter;
89 if (!$this->formatter) {
93 return $this->formatter;
H A DSlackWebhookHandler.php115 public function setFormatter(FormatterInterface $formatter): HandlerInterface argument
117 parent::setFormatter($formatter);
118 $this->slackRecord->setFormatter($formatter);
125 $formatter = parent::getFormatter();
126 $this->slackRecord->setFormatter($formatter);
128 return $formatter;
H A DLogmaticHandler.php95 $formatter = new LogmaticFormatter();
98 $formatter->setHostname($this->hostname);
101 $formatter->setAppname($this->appname);
104 return $formatter;
H A DSlackHandler.php183 public function setFormatter(FormatterInterface $formatter): HandlerInterface argument
185 parent::setFormatter($formatter);
186 $this->slackRecord->setFormatter($formatter);
193 $formatter = parent::getFormatter();
194 $this->slackRecord->setFormatter($formatter);
196 return $formatter;
H A DFormattableHandlerInterface.php26 * @param FormatterInterface $formatter
29 public function setFormatter(FormatterInterface $formatter): HandlerInterface; argument
H A DElasticaHandler.php78 public function setFormatter(FormatterInterface $formatter): HandlerInterface argument
80 if ($formatter instanceof ElasticaFormatter) {
81 return parent::setFormatter($formatter);
H A DFlowdockHandler.php72 public function setFormatter(FormatterInterface $formatter): HandlerInterface argument
74 if (!$formatter instanceof FlowdockFormatter) {
78 return parent::setFormatter($formatter);
H A DElasticsearchHandler.php85 public function setFormatter(FormatterInterface $formatter): HandlerInterface argument
87 if ($formatter instanceof ElasticsearchFormatter) {
88 return parent::setFormatter($formatter);
H A DHandlerWrapper.php107 public function setFormatter(FormatterInterface $formatter): HandlerInterface argument
110 $this->handler->setFormatter($formatter);
H A DGroupHandler.php122 public function setFormatter(FormatterInterface $formatter): HandlerInterface argument
126 $handler->setFormatter($formatter);
H A DSamplingHandler.php108 public function setFormatter(FormatterInterface $formatter): HandlerInterface argument
112 $handler->setFormatter($formatter);
H A DOverflowHandler.php127 public function setFormatter(FormatterInterface $formatter): HandlerInterface argument
130 $this->handler->setFormatter($formatter);
H A DBufferHandler.php145 public function setFormatter(FormatterInterface $formatter): HandlerInterface argument
148 $this->handler->setFormatter($formatter);
H A DFilterHandler.php179 public function setFormatter(FormatterInterface $formatter): HandlerInterface argument
183 $handler->setFormatter($formatter);
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/
H A DScssphpFilter.php33 private $formatter; variable in Assetic\\Filter\\ScssphpFilter
46 public function setFormatter($formatter) argument
55 if (isset($legacyFormatters[$formatter])) {
56 …ssphp formatter `%s` is deprecated. Use `%s` instead.', $formatter, $legacyFormatters[$formatter])…
58 $formatter = $legacyFormatters[$formatter];
61 $this->formatter = $formatter;
109 if ($this->formatter) {
110 $sc->setFormatter($this->formatter);
H A DLessphpFilter.php31 private $formatter; variable in Assetic\\Filter\\LessphpFilter
74 * @param string $formatter One of "lessjs", "compressed", or "classic".
76 public function setFormatter($formatter) argument
78 $this->formatter = $formatter;
104 if ($this->formatter) {
105 $lc->setFormatter($this->formatter);
/plugin/findologicxmlexport/vendor/phpdocumentor/reflection-docblock/src/DocBlock/
H A DDescription.php87 * @param Formatter|null $formatter
91 public function render(Formatter $formatter = null) argument
93 if ($formatter === null) {
94 $formatter = new PassthroughFormatter();
99 $tags[] = '{' . $formatter->format($tag) . '}';
H A DTag.php23 public function render(Formatter $formatter = null); argument
/plugin/findologicxmlexport/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/
H A DBaseTag.php44 public function render(Formatter $formatter = null) argument
46 if ($formatter === null) {
47 $formatter = new Formatter\PassthroughFormatter();
50 return $formatter->format($this);
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
H A DMiddleware.php180 * @param MessageFormatter $formatter Formatter used to create message strings.
185 …public static function log(LoggerInterface $logger, MessageFormatter $formatter, $logLevel = 'info… argument
187 return function (callable $handler) use ($logger, $formatter, $logLevel) {
188 … return function ($request, array $options) use ($handler, $logger, $formatter, $logLevel) {
190 function ($response) use ($logger, $request, $formatter, $logLevel) {
191 $message = $formatter->format($request, $response);
195 function ($reason) use ($logger, $request, $formatter) {
199 $message = $formatter->format($request, $response, $reason);
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/Slack/
H A DSlackRecord.php85 private $formatter; variable in Monolog\\Handler\\Slack\\SlackRecord
103 FormatterInterface $formatter = null argument
113 ->setFormatter($formatter);
140 if ($this->formatter && !$this->useAttachment) {
142 $message = $this->formatter->format($record);
313 public function setFormatter(?FormatterInterface $formatter = null): self argument
315 $this->formatter = $formatter;
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Test/
H A DTestCase.php65 $formatter = $this->createMock(FormatterInterface::class);
66 $formatter->expects($this->any())
72 return $formatter;
/plugin/tos/
H A Daction.php178 $formatter = new InlineDiffFormatter();
182 $html .= html_insert_softbreaks($formatter->format($diff));

12