src/Components/LocalFileSystem.php
public function checkContainerForWrite($container)
    {
        $container = static::addContainerToName($container, '');
        if (!is_dir($container)) {
            if (!mkdir($container, 0777, true)) {
                throw new InternalServerErrorException('Failed to create container.');
            }
        }
    }
public function checkContainerForWrite($container)
    {
        $container = static::addContainerToName($container, '');
        if (!is_dir($container)) {
            if (!mkdir($container, 0777, true)) {
                throw new InternalServerErrorException('Failed to create container.');
            }
        }
    }
public function checkContainerForWrite ( $ container ) { $ container = static :: addContainerToName ( $ container , '' ) ; if ( ! is_dir ( $ container ) ) { if ( ! mkdir ( $ container , 0777 , true ) ) { throw new InternalServerErrorException ( 'Failed to create container.' ) ; } } }
Creates the container for this file management if it does not already exist

@param string $container

@throws \Exception
Creates the container for this file management if it does not already exist