Вход Регистрация
Файл: vendor/league/flysystem/src/DecoratedAdapter.php
Строк: 106
<?php

declare(strict_types=1);

namespace 
LeagueFlysystem;

abstract class 
DecoratedAdapter implements FilesystemAdapter
{
    public function 
__construct(protected FilesystemAdapter $adapter)
    {
    }

    public function 
fileExists(string $path): bool
    
{
        return 
$this->adapter->fileExists($path);
    }

    public function 
directoryExists(string $path): bool
    
{
        return 
$this->adapter->directoryExists($path);
    }

    public function 
write(string $pathstring $contentsConfig $config): void
    
{
        
$this->adapter->write($path$contents$config);
    }

    public function 
writeStream(string $path$contentsConfig $config): void
    
{
        
$this->adapter->writeStream($path$contents$config);
    }

    public function 
read(string $path): string
    
{
        return 
$this->adapter->read($path);
    }

    public function 
readStream(string $path)
    {
        return 
$this->adapter->readStream($path);
    }

    public function 
delete(string $path): void
    
{
        
$this->adapter->delete($path);
    }

    public function 
deleteDirectory(string $path): void
    
{
        
$this->adapter->deleteDirectory($path);
    }

    public function 
createDirectory(string $pathConfig $config): void
    
{
        
$this->adapter->createDirectory($path$config);
    }

    public function 
setVisibility(string $pathstring $visibility): void
    
{
        
$this->adapter->setVisibility($path$visibility);
    }

    public function 
visibility(string $path): FileAttributes
    
{
        return 
$this->adapter->visibility($path);
    }

    public function 
mimeType(string $path): FileAttributes
    
{
        return 
$this->adapter->mimeType($path);
    }

    public function 
lastModified(string $path): FileAttributes
    
{
        return 
$this->adapter->lastModified($path);
    }

    public function 
fileSize(string $path): FileAttributes
    
{
        return 
$this->adapter->fileSize($path);
    }

    public function 
listContents(string $pathbool $deep): iterable
    
{
        return 
$this->adapter->listContents($path$deep);
    }

    public function 
move(string $sourcestring $destinationConfig $config): void
    
{
        
$this->adapter->move($source$destination$config);
    }

    public function 
copy(string $sourcestring $destinationConfig $config): void
    
{
        
$this->adapter->copy($source$destination$config);
    }
}
Онлайн: 1
Реклама