При запуске кода выдает ошибку:
In SymfonyFixturesLoader.php line 67:
The "App\Metrag\AppBundle\Entity\AgentReview" fixture class is trying to be loaded, but is not available. Make sure this class is defined as a service and tagged with "doctrine.fixture.orm".
use App\Metrag\AppBundle\Entity\AgentRealty;
use App\Metrag\AppBundle\Entity\AgentReview;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Common\DataFixtures\DependentFixtureInterface;
use Doctrine\Common\Persistence\ObjectManager;
class GroupFixtures extends Fixture implements DependentFixtureInterface
{
public function load(ObjectManager $manager)
{
// ...
}
public function getDependencies()
{
return array(
#need for dependencies
AgentFixtrue::class,
DealTypeFixture::class,
DistrictFixtrue::class,
LayoutFixtrue::class,
StateFixtrue::class,
StatusFixtrue::class,
#depend
AgentReview::class,
ComplaintFixtrue::class,
RequestOnViewFixtrue::class,
TypeFixtrue::class,
RealtyFixture::class,
);
}
}