public function StreamWrapperInterface::setUri in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php \Drupal\Core\StreamWrapper\StreamWrapperInterface::setUri()
- 9 core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php \Drupal\Core\StreamWrapper\StreamWrapperInterface::setUri()
Sets the absolute stream resource URI.
This allows you to set the URI. Generally is only called by the factory method.
Parameters
string $uri: A string containing the URI that should be used for this instance.
File
- core/
lib/ Drupal/ Core/ StreamWrapper/ StreamWrapperInterface.php, line 130
Class
- StreamWrapperInterface
- Defines a Drupal stream wrapper extension.
Namespace
Drupal\Core\StreamWrapperCode
public function setUri($uri);