File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77/**
88 * Exposes means of clearing the members of the container.
99 *
10- * @since [*next-version*]
10+ * @since 0.2
1111 */
1212interface ClearCapableInterface
1313{
1414 /**
1515 * Clears the members.
1616 *
17- * @since [*next-version*]
17+ * @since 0.2
1818 *
1919 * @throws ContainerExceptionInterface If problem clearing.
2020 */
Original file line number Diff line number Diff line change 88/**
99 * Something that can create new container instances.
1010 *
11- * @since [*next-version*]
11+ * @since 0.2
1212 */
1313interface ContainerFactoryInterface extends FactoryInterface
1414{
1515 /**
1616 * The key in the factory config for container data.
1717 *
18- * @since [*next-version*]
18+ * @since 0.2
1919 */
2020 const K_DATA = 'data ' ;
2121
2222 /**
2323 * The key in the factory config for service definitions.
2424 *
25- * @since [*next-version*]
25+ * @since 0.2
2626 * @deprecated
2727 */
2828 const K_CFG_DEFINITIONS = self ::K_DATA ;
2929
3030 /**
3131 * {@inheritdoc}
3232 *
33- * @since [*next-version*]
33+ * @since 0.2
3434 *
3535 * @return BaseContainerInterface The created container instance.
3636 */
Original file line number Diff line number Diff line change 77/**
88 * Something that can have a data key retrieved from it.
99 *
10- * @since [*next-version*]
10+ * @since 0.2
1111 */
1212interface DataKeyAwareInterface
1313{
1414 /**
1515 * Retrieves the key that is associated with this instance.
1616 *
17- * @since [*next-version*]
17+ * @since 0.2
1818 *
1919 * @return string|Stringable|null The key, if any.
2020 */
Original file line number Diff line number Diff line change 88/**
99 * Exposes means of deleting a data member.
1010 *
11- * @since [*next-version*]
11+ * @since 0.2
1212 */
1313interface DeleteCapableInterface
1414{
1515 /**
1616 * Removes a data member from the object by key.
1717 *
18- * @since [*next-version*]
18+ * @since 0.2
1919 *
2020 * @param string|int|float|bool|Stringable $key The key of the data member to delete.
2121 *
Original file line number Diff line number Diff line change 88/**
99 * Exposes means of setting data on an object.
1010 *
11- * @since [*next-version*]
11+ * @since 0.2
1212 */
1313interface SetCapableInterface
1414{
1515 /**
1616 * Sets the value of a data member with the specified key.
1717 *
18- * @since [*next-version*]
18+ * @since 0.2
1919 *
2020 * @param string|int|float|bool|Stringable $key The key of the data member to set.
2121 * @param mixed $value The value to set.
Original file line number Diff line number Diff line change 88/**
99 * Tests {@see TestSubject}.
1010 *
11- * @since [*next-version*]
11+ * @since 0.2
1212 */
1313class ClearCapableInterfaceTest extends TestCase
1414{
1515 /**
1616 * The name of the test subject.
1717 *
18- * @since [*next-version*]
18+ * @since 0.2
1919 */
2020 const TEST_SUBJECT_CLASSNAME = 'Dhii\Data\Container\ClearCapableInterface ' ;
2121
2222 /**
2323 * Creates a new instance of the test subject.
2424 *
25- * @since [*next-version*]
25+ * @since 0.2
2626 *
2727 * @return TestSubject The new instance.
2828 */
@@ -38,7 +38,7 @@ public function createInstance()
3838 /**
3939 * Tests whether a correct instance of a descendant can be created.
4040 *
41- * @since [*next-version*]
41+ * @since 0.2
4242 */
4343 public function testCanBeCreated ()
4444 {
Original file line number Diff line number Diff line change 99/**
1010 * Tests {@see TestSubject}.
1111 *
12- * @since [*next-version*]
12+ * @since 0.2
1313 */
1414class ContainerFactoryInterfaceTest extends TestCase
1515{
1616 /**
1717 * The class name of the test subject.
1818 *
19- * @since [*next-version*]
19+ * @since 0.2
2020 */
2121 const TEST_SUBJECT_CLASSNAME = 'Dhii\Data\Container\ContainerFactoryInterface ' ;
2222
2323 /**
2424 * Creates a new instance of the test subject.
2525 *
26- * @since [*next-version*]
26+ * @since 0.2
2727 *
2828 * @return TestSubject|MockObject
2929 */
@@ -35,7 +35,7 @@ public function createInstance()
3535 /**
3636 * Tests whether a valid instance of the test subject can be created.
3737 *
38- * @since [*next-version*]
38+ * @since 0.2
3939 */
4040 public function testCanBeCreated ()
4141 {
Original file line number Diff line number Diff line change 88/**
99 * Tests {@see TestSubject}.
1010 *
11- * @since [*next-version*]
11+ * @since 0.2
1212 */
1313class DataKeyAwareInterfaceTest extends TestCase
1414{
1515 /**
1616 * The name of the test subject.
1717 *
18- * @since [*next-version*]
18+ * @since 0.2
1919 */
2020 const TEST_SUBJECT_CLASSNAME = 'Dhii\Data\Container\DataKeyAwareInterface ' ;
2121
2222 /**
2323 * Creates a new instance of the test subject.
2424 *
25- * @since [*next-version*]
25+ * @since 0.2
2626 *
2727 * @return TestSubject The new instance.
2828 */
@@ -38,7 +38,7 @@ public function createInstance()
3838 /**
3939 * Tests whether a correct instance of a descendant can be created.
4040 *
41- * @since [*next-version*]
41+ * @since 0.2
4242 */
4343 public function testCanBeCreated ()
4444 {
Original file line number Diff line number Diff line change 88/**
99 * Tests {@see TestSubject}.
1010 *
11- * @since [*next-version*]
11+ * @since 0.2
1212 */
1313class DeleteCapableInterfaceTest extends TestCase
1414{
1515 /**
1616 * The name of the test subject.
1717 *
18- * @since [*next-version*]
18+ * @since 0.2
1919 */
2020 const TEST_SUBJECT_CLASSNAME = 'Dhii\Data\Container\DeleteCapableInterface ' ;
2121
2222 /**
2323 * Creates a new instance of the test subject.
2424 *
25- * @since [*next-version*]
25+ * @since 0.2
2626 *
2727 * @return TestSubject The new instance.
2828 */
@@ -38,7 +38,7 @@ public function createInstance()
3838 /**
3939 * Tests whether a correct instance of a descendant can be created.
4040 *
41- * @since [*next-version*]
41+ * @since 0.2
4242 */
4343 public function testCanBeCreated ()
4444 {
Original file line number Diff line number Diff line change 88/**
99 * Tests {@see TestSubject}.
1010 *
11- * @since [*next-version*]
11+ * @since 0.2
1212 */
1313class SetCapableInterfaceTest extends TestCase
1414{
1515 /**
1616 * The name of the test subject.
1717 *
18- * @since [*next-version*]
18+ * @since 0.2
1919 */
2020 const TEST_SUBJECT_CLASSNAME = 'Dhii\Data\Container\SetCapableInterface ' ;
2121
2222 /**
2323 * Creates a new instance of the test subject.
2424 *
25- * @since [*next-version*]
25+ * @since 0.2
2626 *
2727 * @return TestSubject The new instance.
2828 */
@@ -38,7 +38,7 @@ public function createInstance()
3838 /**
3939 * Tests whether a correct instance of a descendant can be created.
4040 *
41- * @since [*next-version*]
41+ * @since 0.2
4242 */
4343 public function testCanBeCreated ()
4444 {
You can’t perform that action at this time.
0 commit comments