Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
languages
/
wp-content
/
plugins
/
mailpoet
/
vendor-prefixed
/
twig
/
twig
/
src
:
Markup.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace MailPoetVendor\Twig; if (!defined('ABSPATH')) exit; class Markup implements \Countable, \JsonSerializable { private $content; private $charset; public function __construct($content, $charset) { $this->content = (string) $content; $this->charset = $charset; } public function __toString() { return $this->content; } #[\ReturnTypeWillChange] public function count() { return \mb_strlen($this->content, $this->charset); } #[\ReturnTypeWillChange] public function jsonSerialize() { return $this->content; } }