Mercurial > hg > isophonics-drupal-site
diff vendor/phpdocumentor/reflection-common/src/ProjectFactory.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/phpdocumentor/reflection-common/src/ProjectFactory.php Fri Feb 23 15:52:07 2018 +0000 @@ -0,0 +1,27 @@ +<?php +/** + * phpDocumentor + * + * PHP Version 5.5 + * + * @copyright 2010-2015 Mike van Riel / Naenius (http://www.naenius.com) + * @license http://www.opensource.org/licenses/mit-license.php MIT + * @link http://phpdoc.org + */ +namespace phpDocumentor\Reflection; + +/** + * Interface for project factories. A project factory shall convert a set of files + * into an object implementing the Project interface. + */ +interface ProjectFactory +{ + /** + * Creates a project from the set of files. + * + * @param string $name + * @param File[] $files + * @return Project + */ + public function create($name, array $files); +}