You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?php
namespace App\Service\WordPress;
use App\Traits\Foreachable;
use Doctrine\ORM\EntityManagerInterface;
use Kayue\WordpressBundle\Entity\Post;
class PostCollection implements \Iterator
{
use Foreachable;
protected $postRepository;
public function __construct(EntityManagerInterface $entityManager)
{
$this->postRepository = $entityManager->getRepository(Post::class);
}
}
I get:
The class 'Kayue\WordpressBundle\Entity\Post' was not found in the chain configured namespaces App\Entity.
I'm pretty sure my repo for WordPress is misconfigured, but I cannot understand how to fix it.
Thanks for you help, merry Christmas!
The text was updated successfully, but these errors were encountered:
Hi, I'm stuck in my Symfony 4.4.1 project.
This is my config:
Unfortunately I'm unable to get the repo:
I get:
The class 'Kayue\WordpressBundle\Entity\Post' was not found in the chain configured namespaces App\Entity
.I'm pretty sure my repo for WordPress is misconfigured, but I cannot understand how to fix it.
Thanks for you help, merry Christmas!
The text was updated successfully, but these errors were encountered: