Doctrine\OXM\Storage\FileSystemStorage::unlock PHP Method

unlock() private method

private unlock ( string $filename ) : boolean
$filename string
return boolean
    private function unlock($filename)
    {
        if (isset($this->fileLocks[$filename])) {
            $success = flock($this->fileLocks[$filename], LOCK_UN);
            if ($success) {
                unset($this->fileLocks[$filename]);
            }
            return $success;
        }
    }