<?php

namespace WordpressModels\DependencyInjection\Metabox;

use WP_Post;

interface MetaboxInterface
{

    const CONTEXTS = ['normal', 'side', 'advanced'];
    const PRIORITIES = ['high', 'core', 'default', 'low'];

    /**
     * Render function.
     *
     * Should echo the contents of the metabox.
     *
     * @param WP_Post|null $post
     *
     * @return void
     */
    public function renderMetaBox(?WP_Post $post): void;

}
