Вход Регистрация
Файл: concrete5.7.5.6/concrete/vendor/concrete5/flysystem/src/ReadInterface.php
Строк: 45
<?php

namespace ConcreteFlysystem;

interface 
ReadInterface
{
    
/**
     * Check whether a file exists
     *
     * @param   string  $path
     * @return  bool
     */
    
public function has($path);

    
/**
     * Read a file
     *
     * @param   string  $path
     * @return  false|array
     */
    
public function read($path);

    
/**
     * Read a file as a stream
     *
     * @param   string  $path
     * @return  false|array
     */
    
public function readStream($path);

    
/**
     * List contents of a directory
     *
     * @param   string  $directory
     * @param   bool    $recursive
     * @return  false|array
     */
    
public function listContents($directory ''$recursive false);

    
/**
     * Get all the meta data of a file or directory
     *
     * @param   string  $path
     * @return  false|array
     */
    
public function getMetadata($path);

    
/**
     * Get all the meta data of a file or directory
     *
     * @param   string  $path
     * @return  false|array
     */
    
public function getSize($path);

    
/**
     * Get the mimetype of a file
     *
     * @param   string  $path
     * @return  false|array
     */
    
public function getMimetype($path);

    
/**
     * Get the timestamp of a file
     *
     * @param   string  $path
     * @return  false|array
     */
    
public function getTimestamp($path);

    
/**
     * Get the visibility of a file
     *
     * @param   string  $path
     * @return  false|array
     */
    
public function getVisibility($path);
}
Онлайн: 0
Реклама