Skip to content

Commit 8ef21b6

Browse files
wouterjlsmith77
authored andcommitted
Some minor fixes
1 parent d63e1a1 commit 8ef21b6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/Functional/DbManager/ORM.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ public function getOm($managerName = null)
7777
return $this->om;
7878
}
7979

80+
/**
81+
* Loads fixture classes.
82+
*
83+
* @param string[] $classNames
84+
*/
8085
public function loadFixtures(array $classNames)
8186
{
8287
$loader = new ContainerAwareLoader($this->container);;
@@ -95,7 +100,13 @@ public function loadFixtures(array $classNames)
95100
$executor->execute($loader->getFixtures(), true);
96101
}
97102

98-
public function loadFixtureClass(Loader $loader, $className)
103+
/**
104+
* Loads a single fixture.
105+
*
106+
* @param Loader $loader
107+
* @param string $className
108+
*/
109+
protected function loadFixtureClass(Loader $loader, $className)
99110
{
100111
if (!class_exists($className)) {
101112
throw new \InvalidArgumentException(sprintf(

0 commit comments

Comments
 (0)