You are here

protected function JmesRuntimeFactory::generateCompileDirectory in Feeds extensible parsers 8

Generates a directory path to store auto-generated PHP files.

Return value

string A temp directory path.

1 call to JmesRuntimeFactory::generateCompileDirectory()
JmesRuntimeFactory::getCompileDirectory in src/JmesRuntimeFactory.php
Returns the compilation directory.

File

src/JmesRuntimeFactory.php, line 83

Class

JmesRuntimeFactory
Defines a factory for generating JMESPath runtime objects.

Namespace

Drupal\feeds_ex

Code

protected function generateCompileDirectory() {
  $prefix = Crypt::randomBytesBase64(40);
  return 'temporary://' . $prefix . '_feeds_ex_jmespath_dir';
}