annotate vendor/phpdocumentor/reflection-common/src/ProjectFactory.php @ 19:fa3358dc1485 tip

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