<?php
/**
 * Types of MetaData
 *
 * @author e.kool
 */

namespace VisualM\TagManagerBundle\Doctrine\FieldType;

/**
 * Description of MetaType
 *
 * @author e.kool
 */
class MetaType extends AbstractEnumType
{
    /**
     * Metatag, inhoud is places in to content attribute
     */
    const META_TAG = 'meta-tag';

    /**
     * Plain HTML snippet placed in the bottom of the header
     */
    const HTML_HEADER_SNIPPET = 'html-header-snippet';

    /**
     * Plain HTML snippet places in the bottom of the body
     */
    const HTML_BODY_SNIPPET = 'html-body-snippet';

    /**
     * {@inheritdoc}
     */
    protected function getEnumOptions()
    {
        return [
            self::META_TAG,
            self::HTML_HEADER_SNIPPET,
            self::HTML_BODY_SNIPPET
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function getName()
    {
        return 'meta_type';
    }


}
