<?php

namespace Comitium5\DesignerBundle\Model\Interfaces\Page;

/**
 * Interface PageFactoryInterface
 *
 * @author Carles Gómez <carles@bab-soft.com>
 * @package Comitium5\DesignerBundle\PageContext\Domain\Contracts
 */
interface PageFactoryInterface
{
    /**
     * @param int $originId
     *
     * @return DesignerPageInterface
     */
    public function create(int $originId): DesignerPageInterface;
}
