Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2/**
3 * `FlysystemAdapterBackCompatTrait` needs to normalize paths.
4 *
5 * @see \League\Flysystem\FilesystemAdapter
6 */
7
8namespace BrianHenryIE\Strauss\Helpers\Flysystem;
9
10use League\Flysystem\FilesystemReader;
11use League\Flysystem\PathNormalizer;
12
13/**
14 * @see FlysystemAdapterBackCompatTrait
15 */
16interface FlysystemAdapterBackCompatTraitInterface
17{
18    /**
19     * Implementation is provided by {@see FlysystemAdapterBackCompatTrait::directoryExists()}.
20     *
21     * @see FilesystemReader::directoryExists()
22     */
23    public function directoryExists(string $location): bool;
24
25    /**
26     * @see PathNormalizer
27     */
28    public function normalizePath(string $path): string;
29}