<?php
/**
 * @package         Tassos Code Snippets
 * @version         1.0.1-RC2 Free
 *
 * @author          Tassos Marinos <info@tassos.gr>
 * @link            https://www.tassos.gr
 * @copyright       Copyright © 2026 Tassos Marinos All Rights Reserved
 * @license         GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
 */

namespace Tassos\CodeSnippets\Administrator\Snippet;

class HtmlSnippet extends Snippet
{
    /**
     * Display color used for the snippet (hex).
     *
     * @var string
     */
    protected $color = '#e54d26';

    public function run()
    {
        $code = $this->snippet->code ?? '';
        return empty($code) ? null : $code;
    }
}
