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

Commit

Permalink
Fix: Add docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Sep 19, 2017
1 parent cfa5fff commit b1b3772
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 b1b3772

Please sign in to comment.