class ScopeInfo in Coder 8.2
Holds details of a scope.
@category PHP @package PHP_CodeSniffer @author Sam Graham <php-codesniffer-variableanalysis BLAHBLAH illusori.co.uk> @copyright 2011-2012 Sam Graham <php-codesniffer-plugins BLAHBLAH illusori.co.uk> @link http://pear.php.net/package/PHP_CodeSniffer
Hierarchy
- class \DrupalPractice\Sniffs\CodeAnalysis\ScopeInfo
Expanded class hierarchy of ScopeInfo
File
- coder_sniffer/
DrupalPractice/ Sniffs/ CodeAnalysis/ VariableAnalysisSniff.php, line 27
Namespace
DrupalPractice\Sniffs\CodeAnalysisView source
class ScopeInfo {
public $owner;
public $opener;
public $closer;
public $variables = array();
/**
* Constructor.
*
* @param int $currScope
*/
function __construct($currScope) {
// TODO: extract opener/closer.
$this->owner = $currScope;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ScopeInfo:: |
public | property | ||
ScopeInfo:: |
public | property | ||
ScopeInfo:: |
public | property | ||
ScopeInfo:: |
public | property | ||
ScopeInfo:: |
function | Constructor. |