class Parameter in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/Parameter.php \Symfony\Component\DependencyInjection\Parameter
Parameter represents a parameter reference.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- class \Symfony\Component\DependencyInjection\Parameter
Expanded class hierarchy of Parameter
9 files declare their use of Parameter
- container9.php in vendor/
symfony/ dependency-injection/ Tests/ Fixtures/ containers/ container9.php - GraphvizDumper.php in vendor/
symfony/ dependency-injection/ Dumper/ GraphvizDumper.php - KernelTestBase.php in core/
modules/ simpletest/ src/ KernelTestBase.php - Contains \Drupal\simpletest\KernelTestBase.
- OptimizedPhpArrayDumper.php in core/
lib/ Drupal/ Component/ DependencyInjection/ Dumper/ OptimizedPhpArrayDumper.php - Contains \Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumper.
- OptimizedPhpArrayDumperTest.php in core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ Dumper/ OptimizedPhpArrayDumperTest.php - Contains \Drupal\Tests\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumperTest.
File
- vendor/
symfony/ dependency-injection/ Parameter.php, line 19
Namespace
Symfony\Component\DependencyInjectionView source
class Parameter {
private $id;
/**
* Constructor.
*
* @param string $id The parameter key
*/
public function __construct($id) {
$this->id = $id;
}
/**
* __toString.
*
* @return string The parameter key
*/
public function __toString() {
return (string) $this->id;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Parameter:: |
private | property | ||
Parameter:: |
public | function | Constructor. | |
Parameter:: |
public | function | __toString. |