public function __construct($body, $name = null) { $this->body = $body; $this->length = mb_strlen($body, 'UTF-8'); $this->name = $name ?: 'GraphQL'; }