File tree Expand file tree Collapse file tree 3 files changed +23
-10
lines changed
app/code/Magento/RemoteStorage/Driver
lib/internal/Magento/Framework/Filesystem Expand file tree Collapse file tree 3 files changed +23
-10
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Copyright © Magento, Inc. All rights reserved.
4+ * See COPYING.txt for license details.
5+ */
6+ declare (strict_types=1 );
7+
8+ namespace Magento \RemoteStorage \Driver ;
9+
10+ use Magento \Framework \Filesystem \ExtendedDriverInterface ;
11+
12+ interface ExtendedRemoteDriverInterface extends ExtendedDriverInterface
13+ {
14+ /**
15+ * To check if directory exists
16+ *
17+ * @param string $path
18+ * @return bool
19+ */
20+ public function isDirectoryExists ($ path ): bool ;
21+ }
Original file line number Diff line number Diff line change 77
88namespace Magento \RemoteStorage \Driver ;
99
10- use Magento \Framework \ Filesystem \ ExtendedDriverInterface ;
10+ use Magento \RemoteStorage \ Driver \ ExtendedRemoteDriverInterface ;
1111
1212/**
1313 * Remote storage driver.
1414 * @api
1515 */
16- interface RemoteDriverInterface extends ExtendedDriverInterface
16+ interface RemoteDriverInterface extends ExtendedRemoteDriverInterface
1717{
1818 /**
1919 * Test storage connection.
Original file line number Diff line number Diff line change @@ -45,12 +45,4 @@ interface ExtendedDriverInterface extends DriverInterface
4545 * @see DriverInterface
4646 */
4747 public function getMetadata (string $ path ): array ;
48-
49- /**
50- * To check if directory exists
51- *
52- * @param string $path
53- * @return bool
54- */
55- public function isDirectoryExists ($ path ): bool ;
5648}
You can’t perform that action at this time.
0 commit comments