ApiGen Tasks
ApiGen
Executes ApiGen command to generate documentation
php
<?php
// ApiGen Command
$this->taskApiGen('./vendor/apigen/apigen.phar')
->config('./apigen.neon')
->templateConfig('vendor/apigen/apigen/templates/bootstrap/config.neon')
->wipeout(true)
->run();
?>
args($args)
Pass methods parameters as arguments to executable. Argument valuesconfig($config)
*param string
$configsource($src)
*param array|string|\Traversable
$srcdestination($dest)
*param string
$destextensions($exts)
*param array|string
$extsexclude($exclude)
*param array|string
$excludeskipDocPath($path)
*param array|string|\Traversable
$pathskipDocPrefix($prefix)
*param array|string|\Traversable
$prefixcharset($charset)
*param array|string
$charsetmainProjectNamePrefix($name)
*param string
$nametitle($title)
*param string
$titlebaseUrl($baseUrl)
*param string
$baseUrlgoogleCseId($id)
*param string
$idgoogleAnalytics($trackingCode)
*param string
$trackingCodetemplateConfig($templateConfig)
*param mixed
$templateConfigallowedHtml($tags)
*param array|string
$tagsgroups($groups)
*param string
$groupsautocomplete($types)
*param array|string
$typesaccessLevels($levels)
*param array|string
$levelsinternal($internal)
*param boolean|string
$internalphp($php)
*param bool|string
$phptree($tree)
*param bool|string
$treedeprecated($dep)
*param bool|string
$deptodo($todo)
*param bool|string
$todosourceCode($src)
*param bool|string
$srcdownload($zipped)
*param bool|string
$zippedreport($path)
*param string
$pathwipeout($wipeout)
*param bool|string
$wipeoutquiet($quiet)
*param bool|string
$quietprogressbar($bar)
*param bool|string
$barcolors($colors)
*param bool|string
$colorsupdateCheck($check)
*param bool|string
$checkdebug($debug)
*param bool|string
$debugsetOutput($output)
Sets the Console Output.setProcessInput($input)
Pass an input to the process. Can be resource created with fopen() or stringdir($dir)
Changes working directory of commandarg($arg)
Pass argument to executable. Its value will be automatically escaped.rawArg($arg)
Pass the provided string in its raw (as provided) form as an argument to executable.option($option, $value = null, $separator = null)
Pass option to executable. Options are prefixed with--
, value can be provided in second parameter.options(array $options, $separator = null)
Pass multiple options to executable. The associative array containsoptionList($option, $value = null, $separator = null)
Pass an option with multiple values to executable. Value can be a string or array.