for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of phpDocumentor.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* @copyright 2010-2015 Mike van Riel<[email protected]>
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link http://phpdoc.org
*/
namespace phpDocumentor\Application;
use League\Flysystem\Filesystem;
use phpDocumentor\DomainModel\Parser\Documentation;
final class Render
{
/** @var Documentation */
private $documentation;
/** @var string */
private $target;
/** @var string[] */
private $templates;
* @param Documentation $documentation
* @param Filesystem $target
* @param string[] $templates array of templates to render.
public function __construct(Documentation $documentation, Filesystem $target, array $templates)
$this->documentation = $documentation;
$this->target = $target;
$target
object<League\Flysystem\Filesystem>
string
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
$this->templates = $templates;
}
* @return Documentation
public function getDocumentation()
return $this->documentation;
* @return Filesystem
public function getTarget()
return $this->target;
* @return string[]
public function getTemplates()
return $this->templates;
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..