1<?php
2/**
3 * phpDocumentor
4 *
5 * PHP Version 5.5
6 *
7 * @copyright 2010-2015 Mike van Riel / Naenius (http://www.naenius.com)
8 * @license   http://www.opensource.org/licenses/mit-license.php MIT
9 * @link      http://phpdoc.org
10 */
11namespace phpDocumentor\Reflection;
12
13/**
14 * Interface for project factories. A project factory shall convert a set of files
15 * into an object implementing the Project interface.
16 */
17interface ProjectFactory
18{
19    /**
20     * Creates a project from the set of files.
21     *
22     * @param string $name
23     * @param File[] $files
24     * @return Project
25     */
26    public function create($name, array $files);
27}
28