<?php

namespace Comitium5\DesignerBundle\Model\Interfaces\Page;

use Comitium5\DesignerBundle\Model\Interfaces\DateTimeInterface;

/**
 * Interface PageInterface
 *
 * @author Carles Gómez <carles@bab-soft.com>
 * @package Comitium5\DesignerBundle\PageContext\Domain\Contracts
 */
interface DesignerPageInterface extends DateTimeInterface
{
    /**
     * @return int
     */
    public function getOriginId(): int;

    /**
     * @param string $name
     *
     * @return $this
     */
    public function setName(string $name): self;

    /**
     * @return string
     */
    public function getName(): string;
}
