* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\UX\TwigComponent; use Symfony\UX\TwigComponent\Attribute\ExposeInTemplate; /** * @author Matheo Daninos * * @internal */ final class AnonymousComponent { private array $props; public function mount($props = []): void { $this->props = $props; } #[ExposeInTemplate(destruct: true)] public function getProps(): array { return $this->props; } }