From b1b37727ac06f6daa4081f7437dca4ca221fdc02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Tue, 19 Sep 2017 14:03:17 +0200 Subject: [PATCH] Fix: Add docblocks --- src/Definitions.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Definitions.php b/src/Definitions.php index 24d5d99..25ab1be 100644 --- a/src/Definitions.php +++ b/src/Definitions.php @@ -28,6 +28,8 @@ private function __construct() } /** + * Creates a new instance of this class, and collects all definitions found in the specified directory. + * * @param string $directory * * @throws Exception\InvalidDirectory @@ -76,6 +78,11 @@ public static function in(string $directory) return $instance; } + /** + * Registers all found definitions with the specified fixture factory. + * + * @param FixtureFactory $fixtureFactory + */ public function registerWith(FixtureFactory $fixtureFactory) { foreach ($this->definitions as $definition) {