Listing 34.8. Modyfikacja klasy Novel
class Novel
{
    ...

    /**
     * @ORM\ManyToMany(targetEntity="Method", inversedBy="novels")
     */
    private $methods;

    ...
}