Skip to content

Commit 8e15884

Browse files
authored
Added getResource method
1 parent a187d12 commit 8e15884

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/Archive/MemberInterface.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Alchemy\Zippy\Archive;
1313

14+
use Alchemy\Zippy\Adapter\Resource\ResourceInterface;
1415
use Alchemy\Zippy\Exception\InvalidArgumentException;
1516
use Alchemy\Zippy\Exception\RuntimeException;
1617

@@ -62,7 +63,14 @@ public function getSize();
6263
* @throws InvalidArgumentException In case no members could be removed or provide extract target directory is not valid
6364
*/
6465
public function extract($to = null, $overwrite = false);
65-
66+
67+
/**
68+
* Get resource.
69+
*
70+
* @return ResourceInterface
71+
* */
72+
public function getResource();
73+
6674
/**
6775
* @inheritdoc
6876
*/

0 commit comments

Comments
 (0)