-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
41d7990
commit 9445b72
Showing
28 changed files
with
6,462 additions
and
550 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,317 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="robots" content="index, follow, all" /> | ||
<title>Drush\Commands\ConfiguresPrompts | Drush API %version%</title> | ||
|
||
<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css"> | ||
<link rel="stylesheet" type="text/css" href="../../css/bootstrap-theme.min.css"> | ||
<link rel="stylesheet" type="text/css" href="../../css/doctum.css"> | ||
<link rel="stylesheet" type="text/css" href="../../fonts/doctum-font.css"> | ||
<script src="../../js/jquery-3.5.1.slim.min.js"></script> | ||
<script async defer src="../../doctum.js"></script> | ||
<script async defer src="../../js/bootstrap.min.js"></script> | ||
<script async defer src="../../js/autocomplete.min.js"></script> | ||
<meta name="MobileOptimized" content="width"> | ||
<meta name="HandheldFriendly" content="true"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"> | ||
|
||
</head> | ||
|
||
<body id="class" data-name="class:Drush_Commands_ConfiguresPrompts" data-root-path="../../" data-search-index-url="../../doctum-search.json"> | ||
<div id="content"> | ||
<div id="left-column"> | ||
<div id="control-panel"> | ||
<div class="search-bar hidden" id="search-progress-bar-container"> | ||
<div class="progress"> | ||
<div class="progress-bar" role="progressbar" id="search-progress-bar" | ||
aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"></div> | ||
</div> | ||
</div> | ||
<form id="search-form" action="../../search.html"> | ||
<span class="icon icon-search"></span> | ||
<input name="search" | ||
id="doctum-search-auto-complete" | ||
class="typeahead form-control" | ||
type="search" | ||
placeholder="Search" | ||
spellcheck="false" | ||
autocorrect="off" | ||
autocomplete="off" | ||
autocapitalize="off"> | ||
<div class="auto-complete-results" id="auto-complete-results"></div> | ||
</form> | ||
</div> | ||
|
||
<div id="api-tree"></div> | ||
|
||
</div> | ||
<div id="right-column"> | ||
<nav id="site-nav" class="navbar navbar-default" role="navigation"> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-elements"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="../../index.html">Drush API %version%</a> | ||
</div> | ||
<div class="collapse navbar-collapse" id="navbar-elements"> | ||
<ul class="nav navbar-nav"> | ||
<li><a href="../../classes.html">Classes</a></li> | ||
<li><a href="../../namespaces.html">Namespaces</a></li> | ||
<li><a href="../../interfaces.html">Interfaces</a></li> | ||
<li><a href="../../traits.html">Traits</a></li> | ||
<li><a href="../../doc-index.html">Index</a></li> | ||
<li><a href="../../search.html">Search</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
|
||
<div class="namespace-breadcrumbs"> | ||
<ol class="breadcrumb"> | ||
<li><span class="label label-default">trait</span></li> | ||
<li><a href="../../Drush.html">Drush</a></li><li class="backslash">\</li><li><a href="../../Drush/Commands.html">Commands</a></li><li class="backslash">\</li><li>ConfiguresPrompts</li> | ||
</ol> | ||
</div> | ||
<div id="page-content"> | ||
<div class="page-header"> | ||
<h1>ConfiguresPrompts | ||
</h1> | ||
</div> | ||
|
||
|
||
<p> trait | ||
<strong>ConfiguresPrompts</strong> (<a href="https://github.com/drush-ops/drush/blob/13.x/src/Commands/ConfiguresPrompts.php">View source</a>) | ||
</p> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<h2>Methods</h2> | ||
|
||
<div class="container-fluid underlined"> | ||
<div class="row"> | ||
<div class="col-md-2 type"> | ||
void | ||
</div> | ||
<div class="col-md-8"> | ||
<a href="#method_configurePrompts">configurePrompts</a>(<abbr title="Symfony\Component\Console\Input\InputInterface">InputInterface</abbr> $input) | ||
|
||
<p><p>Configure the prompt fallbacks.</p></p> </div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-2 type"> | ||
mixed | ||
</div> | ||
<div class="col-md-8"> | ||
<a href="#method_promptUntilValid">promptUntilValid</a>(<a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a> $prompt, bool|string $required, <a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a>|null $validate) | ||
|
||
<p><p>Prompt the user until the given validation callback passes.</p></p> </div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-2 type"> | ||
void | ||
</div> | ||
<div class="col-md-8"> | ||
<a href="#method_restorePrompts">restorePrompts</a>() | ||
|
||
<p><p>Restore the prompts output.</p></p> </div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-2 type"> | ||
bool | ||
</div> | ||
<div class="col-md-8"> | ||
<a href="#method_runningUnitTests">runningUnitTests</a>() | ||
|
||
<p class="no-description">No description</p> | ||
</div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
</div> | ||
|
||
|
||
<h2>Details</h2> | ||
|
||
<div id="method-details"> | ||
<div class="method-item"> | ||
<h3 id="method_configurePrompts"> | ||
<div class="location"><a href="https://github.com/drush-ops/drush/blob/13.x/src/Commands/ConfiguresPrompts.php#L31">at line 31</a></div> | ||
<code> protected void | ||
<strong>configurePrompts</strong>(<abbr title="Symfony\Component\Console\Input\InputInterface">InputInterface</abbr> $input) | ||
</code> | ||
</h3> | ||
<div class="details"> | ||
|
||
|
||
|
||
<div class="method-description"> | ||
<p><p>Configure the prompt fallbacks.</p></p> | ||
</div> | ||
<div class="tags"> | ||
<h4>Parameters</h4> | ||
|
||
<table class="table table-condensed"> | ||
<tr> | ||
<td><abbr title="Symfony\Component\Console\Input\InputInterface">InputInterface</abbr></td> | ||
<td>$input</td> | ||
<td></td> | ||
</tr> | ||
</table> | ||
|
||
|
||
<h4>Return Value</h4> | ||
|
||
<table class="table table-condensed"> | ||
<tr> | ||
<td>void</td> | ||
<td></td> | ||
</tr> | ||
</table> | ||
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
<div class="method-item"> | ||
<h3 id="method_promptUntilValid"> | ||
<div class="location"><a href="https://github.com/drush-ops/drush/blob/13.x/src/Commands/ConfiguresPrompts.php#L145">at line 145</a></div> | ||
<code> protected mixed | ||
<strong>promptUntilValid</strong>(<a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a> $prompt, bool|string $required, <a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a>|null $validate) | ||
</code> | ||
</h3> | ||
<div class="details"> | ||
|
||
|
||
|
||
<div class="method-description"> | ||
<p><p>Prompt the user until the given validation callback passes.</p></p> | ||
</div> | ||
<div class="tags"> | ||
<h4>Parameters</h4> | ||
|
||
<table class="table table-condensed"> | ||
<tr> | ||
<td><a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a></td> | ||
<td>$prompt</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td>bool|string</td> | ||
<td>$required</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td><a target="_blank" rel="noopener" href="https://www.php.net/Closure">Closure</a>|null</td> | ||
<td>$validate</td> | ||
<td></td> | ||
</tr> | ||
</table> | ||
|
||
|
||
<h4>Return Value</h4> | ||
|
||
<table class="table table-condensed"> | ||
<tr> | ||
<td>mixed</td> | ||
<td></td> | ||
</tr> | ||
</table> | ||
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
<div class="method-item"> | ||
<h3 id="method_restorePrompts"> | ||
<div class="location"><a href="https://github.com/drush-ops/drush/blob/13.x/src/Commands/ConfiguresPrompts.php#L176">at line 176</a></div> | ||
<code> protected void | ||
<strong>restorePrompts</strong>() | ||
</code> | ||
</h3> | ||
<div class="details"> | ||
|
||
|
||
|
||
<div class="method-description"> | ||
<p><p>Restore the prompts output.</p></p> | ||
</div> | ||
<div class="tags"> | ||
|
||
<h4>Return Value</h4> | ||
|
||
<table class="table table-condensed"> | ||
<tr> | ||
<td>void</td> | ||
<td></td> | ||
</tr> | ||
</table> | ||
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
<div class="method-item"> | ||
<h3 id="method_runningUnitTests"> | ||
<div class="location"><a href="https://github.com/drush-ops/drush/blob/13.x/src/Commands/ConfiguresPrompts.php#L181">at line 181</a></div> | ||
<code> protected bool | ||
<strong>runningUnitTests</strong>() | ||
</code> | ||
</h3> | ||
<div class="details"> | ||
|
||
|
||
|
||
<div class="method-description"> | ||
<p class="no-description">No description</p> | ||
|
||
</div> | ||
<div class="tags"> | ||
|
||
<h4>Return Value</h4> | ||
|
||
<table class="table table-condensed"> | ||
<tr> | ||
<td>bool</td> | ||
<td></td> | ||
</tr> | ||
</table> | ||
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
|
||
</div><div id="footer"> | ||
Generated by <a href="https://github.com/code-lts/doctum">Doctum, a API Documentation generator and fork of Sami</a>.</div></div> | ||
</div> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.