Skip to content

Commit a74ab58

Browse files
committed
Add deprecation
1 parent b9a25fc commit a74ab58

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/PhpactorContainer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ public function register(string $serviceId, Closure $factory, array $tags = []):
113113
}
114114
}
115115

116+
/**
117+
* @deprecated Use parameter() to return a value object instead.
118+
*/
116119
public function getParameter(string $name)
117120
{
118121
if (!array_key_exists($name, $this->parameters)) {

0 commit comments

Comments
 (0)