-
-
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
9736e2b
commit 32fe044
Showing
12 changed files
with
483 additions
and
89 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,173 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="robots" content="index, follow, all" /> | ||
<title>Drush\Commands\AutowireTrait | 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_AutowireTrait" 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>AutowireTrait</li> | ||
</ol> | ||
</div> | ||
<div id="page-content"> | ||
<div class="page-header"> | ||
<h1>AutowireTrait | ||
</h1> | ||
</div> | ||
|
||
|
||
<p> trait | ||
<strong>AutowireTrait</strong> (<a href="https://github.com/drush-ops/drush/blob/12.x/src/Commands/AutowireTrait.php">View source</a>) | ||
</p> | ||
|
||
|
||
|
||
|
||
|
||
<div class="description"> | ||
<p><p>A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.</p></p> <p><p>Defines a trait for automatically wiring dependencies from the container.</p> | ||
<p>This trait uses reflection and may cause performance issues with classes | ||
that will be instantiated multiple times.</p></p> </div> | ||
|
||
|
||
|
||
|
||
<h2>Methods</h2> | ||
|
||
<div class="container-fluid underlined"> | ||
<div class="row"> | ||
<div class="col-md-2 type"> | ||
static <a href="../../Drush/Commands/AutowireTrait.html"><abbr title="Drush\Commands\AutowireTrait">AutowireTrait</abbr></a> | ||
</div> | ||
<div class="col-md-8"> | ||
<a href="#method_create">create</a>(<abbr title="Psr\Container\ContainerInterface">ContainerInterface</abbr> $container) | ||
|
||
<p><p>Instantiates a new instance of the implementing class using autowiring.</p></p> </div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
</div> | ||
|
||
|
||
<h2>Details</h2> | ||
|
||
<div id="method-details"> | ||
<div class="method-item"> | ||
<h3 id="method_create"> | ||
<div class="location"><a href="https://github.com/drush-ops/drush/blob/12.x/src/Commands/AutowireTrait.php#L26">at line 26</a></div> | ||
<code> static <a href="../../Drush/Commands/AutowireTrait.html"><abbr title="Drush\Commands\AutowireTrait">AutowireTrait</abbr></a> | ||
<strong>create</strong>(<abbr title="Psr\Container\ContainerInterface">ContainerInterface</abbr> $container) | ||
</code> | ||
</h3> | ||
<div class="details"> | ||
|
||
|
||
|
||
<div class="method-description"> | ||
<p><p>Instantiates a new instance of the implementing class using autowiring.</p></p> | ||
</div> | ||
<div class="tags"> | ||
<h4>Parameters</h4> | ||
|
||
<table class="table table-condensed"> | ||
<tr> | ||
<td><abbr title="Psr\Container\ContainerInterface">ContainerInterface</abbr></td> | ||
<td>$container</td> | ||
<td><p>The service container this instance should use.</p></td> | ||
</tr> | ||
</table> | ||
|
||
|
||
<h4>Return Value</h4> | ||
|
||
<table class="table table-condensed"> | ||
<tr> | ||
<td><a href="../../Drush/Commands/AutowireTrait.html"><abbr title="Drush\Commands\AutowireTrait">AutowireTrait</abbr></a></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.