# worker/4.9.35/src/Monolog/Formatter/FormatterInterface.php

ManageWP Worker, version 4.9.35. 37 lines.

- Page: https://pluginprobe.com/plugins/worker/4.9.35/code/src/Monolog/Formatter/FormatterInterface.php
- Raw: https://pluginprobe.com/plugins/worker/4.9.35/raw/src/Monolog/Formatter/FormatterInterface.php
- Modified: 2014-11-24T12:40:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/worker/4.9.35/code/src/Monolog/Formatter/FormatterInterface.php#L10-L20`.

```php
<?php

/*
 * This file is part of the Monolog package.
 *
 * (c) Jordi Boggiano <j.boggiano@seld.be>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * Interface for formatters
 *
 * @author Jordi Boggiano <j.boggiano@seld.be>
 */
interface Monolog_Formatter_FormatterInterface
{
    /**
     * Formats a log record.
     *
     * @param array $record A record to format
     *
     * @return mixed The formatted record
     */
    public function format(array $record);

    /**
     * Formats a set of log records.
     *
     * @param array $records A set of records to format
     *
     * @return mixed The formatted set of records
     */
    public function formatBatch(array $records);
}

```
