You are here

protected function HttpFoundationFactory::getTemporaryPath in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/psr-http-message-bridge/Factory/HttpFoundationFactory.php \Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory::getTemporaryPath()

Gets a temporary file path.

Return value

string

1 call to HttpFoundationFactory::getTemporaryPath()
HttpFoundationFactory::createUploadedFile in vendor/symfony/psr-http-message-bridge/Factory/HttpFoundationFactory.php
Creates Symfony UploadedFile instance from PSR-7 ones.

File

vendor/symfony/psr-http-message-bridge/Factory/HttpFoundationFactory.php, line 103

Class

HttpFoundationFactory
@author Kévin Dunglas <dunglas@gmail.com>

Namespace

Symfony\Bridge\PsrHttpMessage\Factory

Code

protected function getTemporaryPath() {
  return tempnam(sys_get_temp_dir(), uniqid('symfony', true));
}