Example #1
0
 public static function content($data = "")
 {
     if ($data === false) {
         $data = "";
     }
     // Restrict user(s) from inputting the `SEPARATOR` constant
     // to prevent mistake(s) in parsing the file content
     $data = Text::ES($data);
     self::$bucket_alt = trim(self::$bucket_alt) !== "" && is_null(self::$open) ? trim(self::$bucket_alt) . (trim($data) !== "" ? "\n\n" . SEPARATOR . "\n\n" . $data : "") : $data;
     return new static();
 }