<?php

namespace Webnestors\Wsn;

abstract class Snippet {
    abstract public function tab(): string;
    abstract public function title(): string;
    abstract public function description(): string;
    abstract public function meta(): array;
    abstract public function run();

    public function is_pro(): bool {
        // Default not pro
        return false;
    }

    public function tooltip(): ?string {
        return null;
    }
}
