| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | /** |
| 6 | * phpDocumentor |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | * |
| 11 | * @link http://phpdoc.org |
| 12 | */ |
| 13 | |
| 14 | namespace phpDocumentor\Reflection; |
| 15 | |
| 16 | /** |
| 17 | * Interface for project factories. A project factory shall convert a set of files |
| 18 | * into an object implementing the Project interface. |
| 19 | */ |
| 20 | interface ProjectFactory |
| 21 | { |
| 22 | /** |
| 23 | * Creates a project from the set of files. |
| 24 | * |
| 25 | * @param File[] $files |
| 26 | */ |
| 27 | public function create(string $name, array $files) : Project; |
| 28 | } |