/
home
/
obinna
/
html
/
restaurants
/
vendor
/
doctrine
/
mongodb-odm
/
lib
/
Doctrine
/
ODM
/
MongoDB
/
Proxy
/
Upload File
HOME
<?php declare(strict_types=1); namespace Doctrine\ODM\MongoDB\Proxy; use ProxyManager\FileLocator\FileLocator as BaseFileLocator; use function mkdir; use function realpath; /** * @internal */ final class FileLocator extends BaseFileLocator { public function __construct(string $proxiesDirectory) { $absolutePath = realpath($proxiesDirectory); if ($absolutePath === false) { mkdir($proxiesDirectory, 0775, true); } parent::__construct($proxiesDirectory); } }