TheSeer\phpDox\Factory::getInstanceFor
Signature
public function getInstanceFor(string
$name )
Parameters
$name
—
string
Returns
- mixed|object
Defined by Interface
FactoryInterface
Test Coverage
Information
- Coverage: 12/13 Lines (92.307692307692%)
- Tests: 7
- Passed: 7 (100%)
Tests
- [ 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
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testGetInstanceForMethod
- [ PASSED ] — TheSeer\phpDox\Tests\Integration\FactoryTest::testgetDoclockFactory
- [ PASSED ] — TheSeer\phpDox\Tests\Integration\FactoryTest::testgetDoclockParser