protected FileSystem::mkdirCall($uri, $mode, $recursive, $context)
Helper function. Ensures we don't pass a NULL as a context resource to mkdir().
self::mkdir()
protected function mkdirCall($uri, $mode, $recursive, $context) { if (is_null($context)) { return mkdir($uri, $mode, $recursive); } else { return mkdir($uri, $mode, $recursive, $context); } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!File!FileSystem.php/function/FileSystem::mkdirCall/8.1.x