yii\base\Application::getRuntimePath PHP Method

getRuntimePath() public method

Returns the directory that stores runtime files.
public getRuntimePath ( ) : string
return string the directory that stores runtime files. Defaults to the "runtime" subdirectory under [[basePath]].
    public function getRuntimePath()
    {
        if ($this->_runtimePath === null) {
            $this->setRuntimePath($this->getBasePath() . DIRECTORY_SEPARATOR . 'runtime');
        }
        return $this->_runtimePath;
    }