30 días con LAST Stack
Componentes Twig
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 1

Let's imagine we have a Twig Component that helps us render charts:

namespace App\Twig\Components;

use Symfony\UX\TwigComponent\Attribute\AsTwigComponent;

#[AsTwigComponent]
class Chart
{
    // ...
}

How could we render this component in a Twig template?

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.