Skip to content

Commit 664bc64

Browse files
committed
Added ClearCapableInterface
Fixes #11.
1 parent 2a3e514 commit 664bc64

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

‎src/ClearCapableInterface.php‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
namespace Dhii\Data\Container;
4+
5+
use Psr\Container\ContainerExceptionInterface;
6+
7+
/**
8+
* Exposes means of clearing the members of the container.
9+
*
10+
* @since [*next-version*]
11+
*/
12+
interface ClearCapableInterface
13+
{
14+
/**
15+
* Clears the members.
16+
*
17+
* @since [*next-version*]
18+
*
19+
* @throws ContainerExceptionInterface If problem clearing.
20+
*/
21+
public function clear();
22+
}

0 commit comments

Comments
 (0)