public function ParsedMarkdownInterface::getSize in Markdown 3.0.x
Retrieves the file size of the parsed HTML.
Parameters
bool $formatted: Flag indicating whether to retrieve the formatted, human-readable, file size.
int $decimals: The number of decimal points to use if $formatted is TRUE.
Return value
int|string The raw file size in bytes or the formatted human-readable file size.
1 method overrides ParsedMarkdownInterface::getSize()
- ParsedMarkdown::getSize in src/
ParsedMarkdown.php - Retrieves the file size of the parsed HTML.
File
- src/
ParsedMarkdownInterface.php, line 138
Class
Namespace
Drupal\markdownCode
public function getSize($formatted = FALSE, $decimals = 2);