TheSeer\phpDox\Factory::addClass
Signature
public function addClass(string
$name,
string
$class )
Parameters
$name
—
string
$class
—
string
Test Coverage
Information
- Coverage: 2/2 Lines (100%)
- Tests: 5
- Passed: 5 (100%)
Tests
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testAddClass
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testGetInstanceForClass
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testGetInstanceForClassWithParameterArray
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testGetInstanceForClassWithParameterString
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testGetInstanceForFactory