<?php

namespace Comitium5\DesignerBundle\Model\Traits\Template;


use Comitium5\DesignerBundle\Model\Interfaces\Template\TemplateInterface;

/**
 * Class TemplateRelationTrait
 *
 * @author Oscar Jimenez <oscarjg19.developer@gmail.com>
 * @package Comitium5\DesignerBundle\Model\Traits\Template
 */
trait TemplateRelationTrait
{
    /**
     * @var TemplateInterface
     */
    protected $template;

    /**
     * @return mixed
     */
    public function getTemplate()
    {
        return $this->template;
    }

    /**
     * @param TemplateInterface $template
     *
     * @return mixed
     */
    public function setTemplate(TemplateInterface $template)
    {
        $this->template = $template;
    }
}
