TheSeer\phpDox\Factory::__construct
Signature
public function __construct([array
$map = NULL] )
Parameters
$map
—
array
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 17
- Passed: 17 (100%)
Tests
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testAddFactory
- [ 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
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testGetInstanceForMethod
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testgetGenericInstance with data set "class with no arguments"
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testgetGenericInstance with data set "class with array as argument"
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testgetGenericInstanceExpectingFactoryException with data set "not instanciable"
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testgetGenericInstanceExpectingFactoryException with data set "no constructor"
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testGetScannerNoExclude with data set "include as string"
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testGetScannerNoExclude with data set "include as array"
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testGetScannerWithExclude with data set "exclude as string"
- [ PASSED ] — TheSeer\phpDox\Tests\Unit\FactoryTest::testGetScannerWithExclude with data set "exclude as array"
- [ PASSED ] — TheSeer\phpDox\Tests\Integration\FactoryTest::testgetDoclockFactory
- [ PASSED ] — TheSeer\phpDox\Tests\Integration\FactoryTest::testgetDoclockParser