Drush: Drush\Psysh\DrushCommand Class Reference

Public Member Functions

 __construct (array $config)
 getCategory ()
 setCategory ($category_title)

Protected Member Functions

 configure ()
 execute (InputInterface $input, OutputInterface $output)
 buildAliasesFromConfig ()
 buildDefinitionFromConfig ()
 createInputOptionsFromConfig (array $options_config)
 buildHelpFromConfig ()

Detailed Description

Main Drush command.

Definition at line 22 of file DrushCommand.php.

Constructor & Destructor Documentation

Drush\Psysh\DrushCommand::__construct ( array  $config)

DrushCommand constructor.

This accepts the Drush command configuration array and does a pretty decent job of building a PsySH command proxy for it. Wheee!

Parameters
array$configDrush command configuration array.

Definition at line 43 of file DrushCommand.php.

Member Function Documentation

Drush\Psysh\DrushCommand::buildAliasesFromConfig ( )
protected

Extract Drush command aliases from config array.

Returns
array The command aliases.

Definition at line 120 of file DrushCommand.php.

Referenced by Drush\Psysh\DrushCommand\configure().

Here is the caller graph for this function:

Drush\Psysh\DrushCommand::buildDefinitionFromConfig ( )
protected

Build a command definition from Drush command configuration array.

Currently, adds all non-hidden arguments and options, and makes a decent effort to guess whether an option accepts a value or not. It isn't always right :P

Returns
array the command definition.

Definition at line 134 of file DrushCommand.php.

References Drush\Psysh\DrushCommand\createInputOptionsFromConfig(), and drush_get_global_options().

Referenced by Drush\Psysh\DrushCommand\configure().

Here is the call graph for this function:

Here is the caller graph for this function:

Drush\Psysh\DrushCommand::buildHelpFromConfig ( )
protected

Build a command help from the Drush configuration array.

Currently it's a word-wrapped description, plus any examples provided.

Returns
string The help string.

Definition at line 218 of file DrushCommand.php.

Referenced by Drush\Psysh\DrushCommand\configure().

Here is the caller graph for this function:

Drush\Psysh\DrushCommand::createInputOptionsFromConfig ( array  $options_config)
protected

Creates input definitions from command options.

Parameters
array$options_config
Returns
[]

Definition at line 178 of file DrushCommand.php.

Referenced by Drush\Psysh\DrushCommand\buildDefinitionFromConfig().

Here is the caller graph for this function:

Drush\Psysh\DrushCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

{}

Definition at line 79 of file DrushCommand.php.

References drush_backend_get_result(), and drush_invoke_process().

Here is the call graph for this function:

Drush\Psysh\DrushCommand::getCategory ( )

Get Category of this command.

Definition at line 51 of file DrushCommand.php.

Drush\Psysh\DrushCommand::setCategory (   $category_title)

Sets the category title.

Parameters
string$category_title

Definition at line 60 of file DrushCommand.php.


The documentation for this class was generated from the following file:

File

doxygen/html/classDrush_1_1Psysh_1_1DrushCommand.html
View source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Drush: Drush\Psysh\DrushCommand Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Drush
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>Drush</b></li><li class="navelem"><b>Psysh</b></li><li class="navelem"><a class="el" href="classDrush_1_1Psysh_1_1DrushCommand.html">DrushCommand</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classDrush_1_1Psysh_1_1DrushCommand-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Drush\Psysh\DrushCommand Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a66658706bea812e9f5199aaebe9bb114"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDrush_1_1Psysh_1_1DrushCommand.html#a66658706bea812e9f5199aaebe9bb114">__construct</a> (array $config)</td></tr>
<tr class="memitem:a2b2af652a167e0d2e034a043d0309b44"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDrush_1_1Psysh_1_1DrushCommand.html#a2b2af652a167e0d2e034a043d0309b44">getCategory</a> ()</td></tr>
<tr class="memitem:a35c333f18f34e8ee7080c65f54cd6026"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDrush_1_1Psysh_1_1DrushCommand.html#a35c333f18f34e8ee7080c65f54cd6026">setCategory</a> ($category_title)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a8770cabede83d1915171a485eb99529f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDrush_1_1Psysh_1_1DrushCommand.html#a8770cabede83d1915171a485eb99529f">configure</a> ()</td></tr>
<tr class="memitem:aa5f056c635bf64d020b074949183c637"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDrush_1_1Psysh_1_1DrushCommand.html#aa5f056c635bf64d020b074949183c637">execute</a> (InputInterface $input, OutputInterface $output)</td></tr>
<tr class="memitem:acff59bfb75969812b911e8cff24a5ff2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDrush_1_1Psysh_1_1DrushCommand.html#acff59bfb75969812b911e8cff24a5ff2">buildAliasesFromConfig</a> ()</td></tr>
<tr class="memitem:ae2dbd27196f1db0ce996a0165657f3ef"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDrush_1_1Psysh_1_1DrushCommand.html#ae2dbd27196f1db0ce996a0165657f3ef">buildDefinitionFromConfig</a> ()</td></tr>
<tr class="memitem:a4fda4bf2d9ba30388e241173180f8a46"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDrush_1_1Psysh_1_1DrushCommand.html#a4fda4bf2d9ba30388e241173180f8a46">createInputOptionsFromConfig</a> (array $options_config)</td></tr>
<tr class="memitem:ae712a30005bd12b436a8a7cdb55f0328"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDrush_1_1Psysh_1_1DrushCommand.html#ae712a30005bd12b436a8a7cdb55f0328">buildHelpFromConfig</a> ()</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Main <a class="el" href="classDrush.html">Drush</a> command. </p>

<p>Definition at line <a class="el" href="DrushCommand_8php_source.html#l00022">22</a> of file <a class="el" href="DrushCommand_8php_source.html">DrushCommand.php</a>.</p>
</div><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a66658706bea812e9f5199aaebe9bb114"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Drush\Psysh\DrushCommand::__construct </td>
          <td>(</td>
          <td class="paramtype">array&#160;</td>
          <td class="paramname"><em>$config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><a class="el" href="classDrush_1_1Psysh_1_1DrushCommand.html">DrushCommand</a> constructor.</p>
<p>This accepts the <a class="el" href="classDrush.html">Drush</a> command configuration array and does a pretty decent job of building a PsySH command proxy for it. Wheee!</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">array</td><td class="paramname">$config</td><td><a class="el" href="classDrush.html">Drush</a> command configuration array. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="DrushCommand_8php_source.html#l00043">43</a> of file <a class="el" href="DrushCommand_8php_source.html">DrushCommand.php</a>.</p>

</div>
</div>
<h2>Member Function Documentation</h2>
<a class="anchor" id="acff59bfb75969812b911e8cff24a5ff2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Drush\Psysh\DrushCommand::buildAliasesFromConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Extract <a class="el" href="classDrush.html">Drush</a> command aliases from config array.</p>
<dl class="section return"><dt>Returns</dt><dd>array The command aliases. </dd></dl>

<p>Definition at line <a class="el" href="DrushCommand_8php_source.html#l00120">120</a> of file <a class="el" href="DrushCommand_8php_source.html">DrushCommand.php</a>.</p>

<p>Referenced by <a class="el" href="DrushCommand_8php_source.html#l00067">Drush\Psysh\DrushCommand\configure()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classDrush_1_1Psysh_1_1DrushCommand_acff59bfb75969812b911e8cff24a5ff2_icgraph.png" border="0" usemap="#classDrush_1_1Psysh_1_1DrushCommand_acff59bfb75969812b911e8cff24a5ff2_icgraph" alt=""/></div>
<map name="classDrush_1_1Psysh_1_1DrushCommand_acff59bfb75969812b911e8cff24a5ff2_icgraph" id="classDrush_1_1Psysh_1_1DrushCommand_acff59bfb75969812b911e8cff24a5ff2_icgraph">
<area shape="rect" id="node3" href="classDrush_1_1Psysh_1_1DrushCommand.html#a8770cabede83d1915171a485eb99529f" title="Drush\\Psysh\\DrushCommand\l\\configure" alt="" coords="251,5,448,51"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae2dbd27196f1db0ce996a0165657f3ef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Drush\Psysh\DrushCommand::buildDefinitionFromConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Build a command definition from <a class="el" href="classDrush.html">Drush</a> command configuration array.</p>
<p>Currently, adds all non-hidden arguments and options, and makes a decent effort to guess whether an option accepts a value or not. It isn't always right :P</p>
<dl class="section return"><dt>Returns</dt><dd>array the command definition. </dd></dl>

<p>Definition at line <a class="el" href="DrushCommand_8php_source.html#l00134">134</a> of file <a class="el" href="DrushCommand_8php_source.html">DrushCommand.php</a>.</p>

<p>References <a class="el" href="DrushCommand_8php_source.html#l00178">Drush\Psysh\DrushCommand\createInputOptionsFromConfig()</a>, and <a class="el" href="drush_8inc_source.html#l00271">drush_get_global_options()</a>.</p>

<p>Referenced by <a class="el" href="DrushCommand_8php_source.html#l00067">Drush\Psysh\DrushCommand\configure()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classDrush_1_1Psysh_1_1DrushCommand_ae2dbd27196f1db0ce996a0165657f3ef_cgraph.png" border="0" usemap="#classDrush_1_1Psysh_1_1DrushCommand_ae2dbd27196f1db0ce996a0165657f3ef_cgraph" alt=""/></div>
<map name="classDrush_1_1Psysh_1_1DrushCommand_ae2dbd27196f1db0ce996a0165657f3ef_cgraph" id="classDrush_1_1Psysh_1_1DrushCommand_ae2dbd27196f1db0ce996a0165657f3ef_cgraph">
<area shape="rect" id="node3" href="classDrush_1_1Psysh_1_1DrushCommand.html#a4fda4bf2d9ba30388e241173180f8a46" title="Drush\\Psysh\\DrushCommand\l\\createInputOptionsFromConfig" alt="" coords="252,5,455,51"/><area shape="rect" id="node5" href="drush_8inc.html#acb0a26e79bcbdd1152d59a6916a35aae" title="drush_get_global_options" alt="" coords="269,75,437,104"/><area shape="rect" id="node7" href="command_8inc.html#a74995cc76034e90a39baee51111b20be" title="drush_command_invoke\l_all_ref" alt="" coords="504,66,667,113"/><area shape="rect" id="node9" href="command_8inc.html#a385cd0ff47c30105f965722a81987809" title="drush_command_implements" alt="" coords="715,75,907,104"/><area shape="rect" id="node11" href="command_8inc.html#a2ce77284c0002dda3a5d0527e583e017" title="drush_command_hook" alt="" coords="959,48,1111,77"/><area shape="rect" id="node13" href="command_8inc.html#ad51d79509a4a134947703f3e58564444" title="drush_commandfile_list" alt="" coords="956,101,1113,131"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classDrush_1_1Psysh_1_1DrushCommand_ae2dbd27196f1db0ce996a0165657f3ef_icgraph.png" border="0" usemap="#classDrush_1_1Psysh_1_1DrushCommand_ae2dbd27196f1db0ce996a0165657f3ef_icgraph" alt=""/></div>
<map name="classDrush_1_1Psysh_1_1DrushCommand_ae2dbd27196f1db0ce996a0165657f3ef_icgraph" id="classDrush_1_1Psysh_1_1DrushCommand_ae2dbd27196f1db0ce996a0165657f3ef_icgraph">
<area shape="rect" id="node3" href="classDrush_1_1Psysh_1_1DrushCommand.html#a8770cabede83d1915171a485eb99529f" title="Drush\\Psysh\\DrushCommand\l\\configure" alt="" coords="251,5,448,51"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae712a30005bd12b436a8a7cdb55f0328"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Drush\Psysh\DrushCommand::buildHelpFromConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Build a command help from the <a class="el" href="classDrush.html">Drush</a> configuration array.</p>
<p>Currently it's a word-wrapped description, plus any examples provided.</p>
<dl class="section return"><dt>Returns</dt><dd>string The help string. </dd></dl>

<p>Definition at line <a class="el" href="DrushCommand_8php_source.html#l00218">218</a> of file <a class="el" href="DrushCommand_8php_source.html">DrushCommand.php</a>.</p>

<p>Referenced by <a class="el" href="DrushCommand_8php_source.html#l00067">Drush\Psysh\DrushCommand\configure()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classDrush_1_1Psysh_1_1DrushCommand_ae712a30005bd12b436a8a7cdb55f0328_icgraph.png" border="0" usemap="#classDrush_1_1Psysh_1_1DrushCommand_ae712a30005bd12b436a8a7cdb55f0328_icgraph" alt=""/></div>
<map name="classDrush_1_1Psysh_1_1DrushCommand_ae712a30005bd12b436a8a7cdb55f0328_icgraph" id="classDrush_1_1Psysh_1_1DrushCommand_ae712a30005bd12b436a8a7cdb55f0328_icgraph">
<area shape="rect" id="node3" href="classDrush_1_1Psysh_1_1DrushCommand.html#a8770cabede83d1915171a485eb99529f" title="Drush\\Psysh\\DrushCommand\l\\configure" alt="" coords="251,5,448,51"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a8770cabede83d1915171a485eb99529f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Drush\Psysh\DrushCommand::configure </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>{} </p>

<p>Definition at line <a class="el" href="DrushCommand_8php_source.html#l00067">67</a> of file <a class="el" href="DrushCommand_8php_source.html">DrushCommand.php</a>.</p>

<p>References <a class="el" href="DrushCommand_8php_source.html#l00120">Drush\Psysh\DrushCommand\buildAliasesFromConfig()</a>, <a class="el" href="DrushCommand_8php_source.html#l00134">Drush\Psysh\DrushCommand\buildDefinitionFromConfig()</a>, and <a class="el" href="DrushCommand_8php_source.html#l00218">Drush\Psysh\DrushCommand\buildHelpFromConfig()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classDrush_1_1Psysh_1_1DrushCommand_a8770cabede83d1915171a485eb99529f_cgraph.png" border="0" usemap="#classDrush_1_1Psysh_1_1DrushCommand_a8770cabede83d1915171a485eb99529f_cgraph" alt=""/></div>
<map name="classDrush_1_1Psysh_1_1DrushCommand_a8770cabede83d1915171a485eb99529f_cgraph" id="classDrush_1_1Psysh_1_1DrushCommand_a8770cabede83d1915171a485eb99529f_cgraph">
<area shape="rect" id="node3" href="classDrush_1_1Psysh_1_1DrushCommand.html#acff59bfb75969812b911e8cff24a5ff2" title="Drush\\Psysh\\DrushCommand\l\\buildAliasesFromConfig" alt="" coords="251,5,448,51"/><area shape="rect" id="node5" href="classDrush_1_1Psysh_1_1DrushCommand.html#ae2dbd27196f1db0ce996a0165657f3ef" title="Drush\\Psysh\\DrushCommand\l\\buildDefinitionFromConfig" alt="" coords="251,74,448,121"/><area shape="rect" id="node19" href="classDrush_1_1Psysh_1_1DrushCommand.html#ae712a30005bd12b436a8a7cdb55f0328" title="Drush\\Psysh\\DrushCommand\l\\buildHelpFromConfig" alt="" coords="251,143,448,190"/><area shape="rect" id="node7" href="classDrush_1_1Psysh_1_1DrushCommand.html#a4fda4bf2d9ba30388e241173180f8a46" title="Drush\\Psysh\\DrushCommand\l\\createInputOptionsFromConfig" alt="" coords="497,43,700,90"/><area shape="rect" id="node9" href="drush_8inc.html#acb0a26e79bcbdd1152d59a6916a35aae" title="drush_get_global_options" alt="" coords="515,113,683,143"/><area shape="rect" id="node11" href="command_8inc.html#a74995cc76034e90a39baee51111b20be" title="drush_command_invoke\l_all_ref" alt="" coords="749,105,912,151"/><area shape="rect" id="node13" href="command_8inc.html#a385cd0ff47c30105f965722a81987809" title="drush_command_implements" alt="" coords="960,113,1152,143"/><area shape="rect" id="node15" href="command_8inc.html#a2ce77284c0002dda3a5d0527e583e017" title="drush_command_hook" alt="" coords="1204,87,1356,116"/><area shape="rect" id="node17" href="command_8inc.html#ad51d79509a4a134947703f3e58564444" title="drush_commandfile_list" alt="" coords="1201,140,1359,169"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a4fda4bf2d9ba30388e241173180f8a46"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Drush\Psysh\DrushCommand::createInputOptionsFromConfig </td>
          <td>(</td>
          <td class="paramtype">array&#160;</td>
          <td class="paramname"><em>$options_config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Creates input definitions from command options.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">array</td><td class="paramname">$options_config</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>[] </dd></dl>

<p>Definition at line <a class="el" href="DrushCommand_8php_source.html#l00178">178</a> of file <a class="el" href="DrushCommand_8php_source.html">DrushCommand.php</a>.</p>

<p>Referenced by <a class="el" href="DrushCommand_8php_source.html#l00134">Drush\Psysh\DrushCommand\buildDefinitionFromConfig()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classDrush_1_1Psysh_1_1DrushCommand_a4fda4bf2d9ba30388e241173180f8a46_icgraph.png" border="0" usemap="#classDrush_1_1Psysh_1_1DrushCommand_a4fda4bf2d9ba30388e241173180f8a46_icgraph" alt=""/></div>
<map name="classDrush_1_1Psysh_1_1DrushCommand_a4fda4bf2d9ba30388e241173180f8a46_icgraph" id="classDrush_1_1Psysh_1_1DrushCommand_a4fda4bf2d9ba30388e241173180f8a46_icgraph">
<area shape="rect" id="node3" href="classDrush_1_1Psysh_1_1DrushCommand.html#ae2dbd27196f1db0ce996a0165657f3ef" title="Drush\\Psysh\\DrushCommand\l\\buildDefinitionFromConfig" alt="" coords="259,5,456,51"/><area shape="rect" id="node5" href="classDrush_1_1Psysh_1_1DrushCommand.html#a8770cabede83d1915171a485eb99529f" title="Drush\\Psysh\\DrushCommand\l\\configure" alt="" coords="504,5,701,51"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aa5f056c635bf64d020b074949183c637"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Drush\Psysh\DrushCommand::execute </td>
          <td>(</td>
          <td class="paramtype">InputInterface&#160;</td>
          <td class="paramname"><em>$input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputInterface&#160;</td>
          <td class="paramname"><em>$output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>{} </p>

<p>Definition at line <a class="el" href="DrushCommand_8php_source.html#l00079">79</a> of file <a class="el" href="DrushCommand_8php_source.html">DrushCommand.php</a>.</p>

<p>References <a class="el" href="backend_8inc_source.html#l00129">drush_backend_get_result()</a>, and <a class="el" href="command_8inc_source.html#l00109">drush_invoke_process()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classDrush_1_1Psysh_1_1DrushCommand_aa5f056c635bf64d020b074949183c637_cgraph.png" border="0" usemap="#classDrush_1_1Psysh_1_1DrushCommand_aa5f056c635bf64d020b074949183c637_cgraph" alt=""/></div>
<map name="classDrush_1_1Psysh_1_1DrushCommand_aa5f056c635bf64d020b074949183c637_cgraph" id="classDrush_1_1Psysh_1_1DrushCommand_aa5f056c635bf64d020b074949183c637_cgraph">
<area shape="rect" id="node3" href="backend_8inc.html#ac295e52c1fa40b91d9100517ed8e76de" title="drush_backend_get_result" alt="" coords="252,457,425,487"/><area shape="rect" id="node7" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="263,977,415,1007"/><area shape="rect" id="node5" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1871,953,1999,983"/><area shape="rect" id="node9" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="479,458,633,505"/><area shape="rect" id="node45" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="1268,1109,1345,1139"/><area shape="rect" id="node58" href="context_8inc.html#a559008f6decb23108b83e704208e415e" title="drush_get_option_override" alt="" coords="965,787,1139,816"/><area shape="rect" id="node76" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1033,1272,1071,1301"/><area shape="rect" id="node123" href="sitealias_8inc.html#a0dd349885b59373b8a067d7589d096e7" title="drush_sitealias_resolve\l_sitespecs" alt="" coords="477,1377,635,1423"/><area shape="rect" id="node129" href="sitealias_8inc.html#a0665329c1176b30398fa27ee5cd10423" title="drush_sitealias_simplify\l_names" alt="" coords="476,969,636,1015"/><area shape="rect" id="node11" href="backend_8inc.html#a895f14d30af875ea1783a3de2355d095" title="_drush_backend_adjust\l_options" alt="" coords="711,111,868,158"/><area shape="rect" id="node13" href="backend_8inc.html#ad19c067bfbd87dfc63c55659723aaf60" title="_drush_backend_argument\l_string" alt="" coords="963,458,1141,505"/><area shape="rect" id="node17" href="backend_8inc.html#a20dd75d8a0d75a4e59db35c8918d1d8a" title="_drush_backend_classify\l_options" alt="" coords="705,397,873,443"/><area shape="rect" id="node25" href="backend_8inc.html#aa9bff3ffcd61a4dd945b567057a54e5d" title="_drush_backend_generate\l_command" alt="" coords="703,621,876,667"/><area shape="rect" id="node33" href="group__commandwrappers.html#ga1292121e5bdd4bf19ef4f944b16301ed" title="drush_os" alt="" coords="1015,733,1089,763"/><area shape="rect" id="node36" href="backend_8inc.html#aff4e2427168bc7585fcfa5eca6a94af0" title="_drush_backend_get\l_global_contexts" alt="" coords="719,518,860,565"/><area shape="rect" id="node41" href="backend_8inc.html#a1d3f3caae7e1300c53e2cc1fe4ffb932" title="_drush_backend_invoke" alt="" coords="708,985,871,1015"/><area shape="rect" id="node85" href="includes_2environment_8inc.html#ac03e907ca57149e27b2e34b186a65797" title="drush_build_drush_command" alt="" coords="1212,348,1401,377"/><area shape="rect" id="node96" href="command_8inc.html#aed341ec21a59c794b73f7ba031825632" title="drush_command_get_command\l_specific_options" alt="" coords="687,42,892,89"/><area shape="rect" id="node102" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="985,1437,1119,1483"/><area shape="rect" id="node117" href="startup_8inc.html#a80f9d7b288b6ae5fd2c7a8377f7d31b9" title="find_wrapper_or_launcher" alt="" coords="704,181,875,211"/><area shape="rect" id="node15" href="backend_8inc.html#a76fe1964075bf89898a79d07885dcacf" title="_drush_escape_option" alt="" coords="1231,471,1383,500"/><area shape="rect" id="node19" href="drush_8inc.html#acb0a26e79bcbdd1152d59a6916a35aae" title="drush_get_global_options" alt="" coords="968,405,1136,435"/><area shape="rect" id="node23" href="sitealias_8inc.html#a4345c09c2ecb4793246075f06c146fec" title="drush_sitealias_site\l_selection_keys" alt="" coords="984,335,1120,382"/><area shape="rect" id="node21" href="command_8inc.html#a74995cc76034e90a39baee51111b20be" title="drush_command_invoke\l_all_ref" alt="" coords="1225,401,1388,447"/><area shape="rect" id="node28" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1463,732,1583,761"/><area shape="rect" id="node31" href="includes_2environment_8inc.html#a395834ff6c51946c9c8a0953aa8f539f" title="drush_is_local_host" alt="" coords="984,629,1120,659"/><area shape="rect" id="node43" href="backend_8inc.html#aad736c236f213abc274709f79e41edf7" title="_drush_backend_proc_open" alt="" coords="960,1115,1144,1144"/><area shape="rect" id="node55" href="backend_8inc.html#a31be2d52e209d3e6ac359e971cf1fd7b" title="drush_backend_parse\l_output" alt="" coords="977,890,1127,937"/><area shape="rect" id="node64" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="1264,853,1349,883"/><area shape="rect" id="node67" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="996,1219,1108,1248"/><area shape="rect" id="node72" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288" title="drush_shell_proc_open" alt="" coords="975,960,1129,989"/><area shape="rect" id="node47" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="1480,1109,1565,1139"/><area shape="rect" id="node49" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1655,1160,1809,1189"/><area shape="rect" id="node53" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="1684,1056,1780,1085"/><area shape="rect" id="node60" href="context_8inc.html#add3af7aa09b1ccf49718577a8d7aa61d" title="drush_sitealias_get\l_option" alt="" coords="1240,783,1373,830"/><area shape="rect" id="node78" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1240,1263,1373,1310"/><area shape="rect" id="node83" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="1237,1333,1376,1363"/><area shape="rect" id="node80" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1660,1267,1804,1296"/><area shape="rect" id="node87" href="includes_2environment_8inc.html#afd2e0babc825c7c524b1fb28cde88532" title="_drush_get_os" alt="" coords="1469,352,1576,381"/><area shape="rect" id="node90" href="context_8inc.html#ae7691e4635dc346aae09eb3f0bbd6092" title="drush_get_context_options" alt="" coords="1643,469,1821,499"/><area shape="rect" id="node94" href="includes_2environment_8inc.html#a87a6fcd104950fb9b0d90e25208bcf79" title="drush_has_bash" alt="" coords="1464,299,1581,328"/><area shape="rect" id="node98" href="command_8inc.html#ada5bfda5bb64c19886f7253e30a58de2" title="drush_command_normalize_name" alt="" coords="943,51,1161,80"/><area shape="rect" id="node104" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="1236,1557,1377,1603"/><area shape="rect" id="node108" href="sitealias_8inc.html#a9e6067d5c022f5ee598fd0da886931a0" title="drush_sitealias_local\l_site_path" alt="" coords="1452,1467,1593,1514"/><area shape="rect" id="node110" href="sitealias_8inc.html#a7da9f5d71a8c274a8a1fc5d3889e9999" title="drush_sitealias_uri\l_to_site_dir" alt="" coords="1667,1422,1797,1469"/><area shape="rect" id="node113" href="sitealias_8inc.html#a3f06e1c033d491e01fe2841c08c0cd2e" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="1229,1437,1384,1483"/><area shape="rect" id="node119" href="startup_8inc.html#abc197fb0045673893246a63b3b527f82" title="find_wrapper_or_launcher\l_in_vicinity" alt="" coords="967,165,1137,211"/><area shape="rect" id="node126" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="711,1437,868,1483"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a2b2af652a167e0d2e034a043d0309b44"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Drush\Psysh\DrushCommand::getCategory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get Category of this command. </p>

<p>Definition at line <a class="el" href="DrushCommand_8php_source.html#l00051">51</a> of file <a class="el" href="DrushCommand_8php_source.html">DrushCommand.php</a>.</p>

</div>
</div>
<a class="anchor" id="a35c333f18f34e8ee7080c65f54cd6026"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Drush\Psysh\DrushCommand::setCategory </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$category_title</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the category title.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$category_title</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="DrushCommand_8php_source.html#l00060">60</a> of file <a class="el" href="DrushCommand_8php_source.html">DrushCommand.php</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>lib/Drush/Psysh/<a class="el" href="DrushCommand_8php_source.html">DrushCommand.php</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Nov 2 2016 07:30:16 for Drush by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>