class Parameter in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Parameter.php \Symfony\Component\DependencyInjection\Parameter
Parameter represents a parameter reference.
@author Fabien Potencier <fabien@symfony.com>
@api
Hierarchy
- class \Symfony\Component\DependencyInjection\Parameter
Expanded class hierarchy of Parameter
8 files declare their use of Parameter
- container9.php in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Fixtures/ containers/ container9.php - GraphvizDumper.php in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Dumper/ GraphvizDumper.php - OptimizedPhpArrayDumper.php in lib/
Drupal/ Component/ DependencyInjection/ Dumper/ OptimizedPhpArrayDumper.php - Contains \Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumper.
- ParameterTest.php in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ ParameterTest.php - PhpArrayDumper.php in lib/
Drupal/ Core/ DependencyInjection/ Dumper/ PhpArrayDumper.php - Contains \Drupal\Core\DependencyInjection\Dumper\PhpArrayDumper
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Parameter.php, line 21
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. |