Phalcon\Test\UnitTestCase::getFileName PHP Method

getFileName() protected method

Returns a unique file name
protected getFileName ( string $prefix = '', string $suffix = 'log' ) : string
$prefix string A prefix for the file
$suffix string A suffix for the file
return string
    protected function getFileName($prefix = '', $suffix = 'log')
    {
        $prefix = $prefix ? $prefix . '_' : '';
        $suffix = $suffix ? $suffix : 'log';
        return uniqid($prefix, true) . '.' . $suffix;
    }