3.6 KiB
3.6 KiB
ApiGen Tasks
ApiGen
Executes ApiGen command to generate documentation
<?php
// ApiGen Command
$this->taskApiGen('./apigen.neon')
->templateConfig('vendor/apigen/apigen/templates/bootstrap/config.neon')
->wipeout(true)
->run();
?>
config($config)*param string$configsource($src)*param array|string|Traversable$src one or more source valuesdestination($dest)*param string$destextensions($exts)*param array|string$exts one or more extensionsexclude($exclude)*param array|string$exclude one or more exclusionsskipDocPath($path)*param array|string|Traversable$path one or more skip-doc-path valuesskipDocPrefix($prefix)*param array|string|Traversable$prefix one or more skip-doc-prefix valuescharset($charset)*param array|string$charset one or more charsetsmainProjectNamePrefix($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$tags one or more supported html tagsgroups($groups)*param string$groupsautocomplete($types)*param array|string$types or more supported autocomplete typesaccessLevels($levels)*param array|string$levels one or more access levelsinternal($internal)*param boolean|string$internal 'yes' or true if internal, 'no' or false if notphp($php)*param boolean|string$php 'yes' or true to generate documentation for internal php classes,tree($tree)*param bool|string$tree 'yes' or true to generate a tree view of classes, 'no' or false otherwisedeprecated($dep)*param bool|string$dep 'yes' or true to generate documentation for deprecated classes, 'no' or false otherwisetodo($todo)*param bool|string$todo 'yes' or true to document tasks, 'no' or false otherwisesourceCode($src)*param bool|string$src 'yes' or true to generate highlighted source code, 'no' or false otherwisedownload($zipped)*param bool|string$zipped 'yes' or true to generate downloadable documentation, 'no' or false otherwisereport($path)wipeout($wipeout)*param bool|string$wipeout 'yes' or true to clear out the destination directory, 'no' or false otherwisequiet($quiet)*param bool|string$quiet 'yes' or true for quiet, 'no' or false otherwiseprogressbar($bar)*param bool|string$bar 'yes' or true to display a progress bar, 'no' or false otherwisecolors($colors)*param bool|string$colors 'yes' or true colorize the output, 'no' or false otherwiseupdateCheck($check)*param bool|string$check 'yes' or true to check for updates, 'no' or false otherwisedebug($debug)*param bool|string$debug 'yes' or true to enable debug mode, 'no' or false otherwisedir($dir)Changes working directory of commandprinted($arg)Should command output be printedarg($arg)Pass argument to executable. Its value will be automatically escaped.args($args)Pass methods parameters as arguments to executable. Argument valuesrawArg($arg)Pass the provided string in its raw (as provided) form as an argument to executable.option($option, $value = null)Pass option to executable. Options are prefixed with--, value can be provided in second parameter.optionList($option, $value = null)Pass multiple options to executable. Value can be a string or array.