Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #18 from localheinz/fix/docblock
Browse files Browse the repository at this point in the history
Fix: Add docblocks
  • Loading branch information
localheinz authored Sep 19, 2017
2 parents cfa5fff + b1b3772 commit 338456a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Definitions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 338456a

Please sign in to comment.