Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mautic.corals.io/vendor/knplabs/gaufrette/src/Gaufrette/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mautic.corals.io/vendor/knplabs/gaufrette/src/Gaufrette/Adapter.php
<?php

namespace Gaufrette;

/**
 * Interface for the filesystem adapters.
 *
 * @author Antoine Hérault <[email protected]>
 * @author Leszek Prabucki <[email protected]>
 */
interface Adapter
{
    /**
     * Reads the content of the file.
     *
     * @param string $key
     *
     * @return string|bool if cannot read content
     */
    public function read($key);

    /**
     * Writes the given content into the file.
     *
     * @param string $key
     * @param string $content
     *
     * @return int|bool The number of bytes that were written into the file
     */
    public function write($key, $content);

    /**
     * Indicates whether the file exists.
     *
     * @param string $key
     *
     * @return bool
     */
    public function exists($key);

    /**
     * Returns an array of all keys (files and directories).
     *
     * @return array
     */
    public function keys();

    /**
     * Returns the last modified time.
     *
     * @param string $key
     *
     * @return int|bool An UNIX like timestamp or false
     */
    public function mtime($key);

    /**
     * Deletes the file.
     *
     * @param string $key
     *
     * @return bool
     */
    public function delete($key);

    /**
     * Renames a file.
     *
     * @param string $sourceKey
     * @param string $targetKey
     *
     * @return bool
     */
    public function rename($sourceKey, $targetKey);

    /**
     * Check if key is directory.
     *
     * @param string $key
     *
     * @return bool
     */
    public function isDirectory($key);
}

Spamworldpro Mini