# AppFixtures

Extends \Doctrine\Bundle\FixturesBundle\Fixture

Application data fixtures definition

author | Lukas Korinek
package | Default

### Methods

## __construct

    __construct(\NPS\Factory\UserFactory $userFactory, \NPS\Repository\KnowledgeBaseRepository $baseRepo, \NPS\Factory\KnowledgeBaseFactory $baseFactory, \Doctrine\ORM\EntityManagerInterface $em,  $rootDir)

### Arguments

#### $userFactory

`\NPS\Factory\UserFactory`

#### $baseRepo

`\NPS\Repository\KnowledgeBaseRepository`

#### $baseFactory

`\NPS\Factory\KnowledgeBaseFactory`

#### $em

`\Doctrine\ORM\EntityManagerInterface`

#### $rootDir

``

## load

    load(\Doctrine\Common\Persistence\ObjectManager $manager)

inheritDoc |

### Arguments

#### $manager

`\Doctrine\Common\Persistence\ObjectManager`

### Properties

## userFactory

    userFactory : \NPS\Factory\UserFactory

var |

### Type(s)

`\NPS\Factory\UserFactory`

## baseFactory

    baseFactory : \NPS\Factory\KnowledgeBaseFactory

var |

### Type(s)

`\NPS\Factory\KnowledgeBaseFactory`

## em

    em : \Doctrine\ORM\EntityManagerInterface

var |

### Type(s)

`\Doctrine\ORM\EntityManagerInterface`

## rootDir

    rootDir : string

var |

### Type(s)

`string`

## baseRepo

    baseRepo : \NPS\Repository\KnowledgeBaseRepository

var |

### Type(s)

`\NPS\Repository\KnowledgeBaseRepository`