Arillo\ShortPixel\Reports\TextPersisterReport
Collects information from all .shortpixel files inside of FolderTask::root_folder();
- Author: Bumbus <sf@arillo.ch>
Synopsis
class TextPersisterReport
{
- // constants
- const FILENAME = '.shortpixel';
- const FILENAME_REGEX = '/^.+\.shortpixel$/i';
- const ALLOWED_STATUSES = ;
- const LINE_LENGTH = 465;
- // members
- protected array $report = ;
Constants
Name | Value |
---|---|
FILENAME | '.shortpixel' |
FILENAME_REGEX | '/^.+\.shortpixel$/i' |
ALLOWED_STATUSES | |
LINE_LENGTH | 465 |
Members
protected
- $report
Methods
protected
- parse() — Borrowed from ShortPixel\persist\TextPersister.
public
- generate() — Actually generates the report