src/Manager.php
protected function runFormatters($data)
    {
        $data = self::formatAble($data);

        foreach ($this->formatters as $formatter) {
            $data = $formatter->format($data);
        }

        return $data->getObject();
    }
protected function runFormatters($data)
    {
        $data = self::formatAble($data);

        foreach ($this->formatters as $formatter) {
            $data = $formatter->format($data);
        }

        return $data->getObject();
    }
protected function runFormatters ( $ data ) { $ data = self :: formatAble ( $ data ) ; foreach ( $ this -> formatters as $ formatter ) { $ data = $ formatter -> format ( $ data ) ; } return $ data -> getObject ( ) ; }
Run the Formatters on the given data.

@param array|object $data

@return FormatAble|object
Run the Formatters on the given data .