comparison core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
165 public function realpath(); 165 public function realpath();
166 166
167 /** 167 /**
168 * Gets the name of the directory from a given path. 168 * Gets the name of the directory from a given path.
169 * 169 *
170 * This method is usually accessed through drupal_dirname(), which wraps 170 * This method is usually accessed through
171 * around the normal PHP dirname() function, which does not support stream 171 * \Drupal\Core\File\FileSystemInterface::dirname(), which wraps around the
172 * wrappers. 172 * normal PHP dirname() function, which does not support stream wrappers.
173 * 173 *
174 * @param string $uri 174 * @param string $uri
175 * An optional URI. 175 * An optional URI.
176 * 176 *
177 * @return string 177 * @return string
178 * A string containing the directory name, or FALSE if not applicable. 178 * A string containing the directory name, or FALSE if not applicable.
179 * 179 *
180 * @see drupal_dirname() 180 * @see \Drupal\Core\File\FileSystemInterface::dirname()
181 */ 181 */
182 public function dirname($uri = NULL); 182 public function dirname($uri = NULL);
183 183
184 } 184 }