@@ -188,18 +188,13 @@ private function displayComponentDetails(SymfonyStyle $io, string $name): void
188188 }
189189
190190 $ table ->addRows ([
191- ['Type ' , ' <info>Live</info> ' ],
191+ ['Type ' , $ metadata -> get ( ' live ' ) ? ' <info>Live</info> ' : ' ' ],
192192 new TableSeparator (),
193193 // ['Attributes Var', $metadata->get('attributes_var')],
194194 ['Public Props ' , $ metadata ->get ('expose_public_props ' ) ? 'Yes ' : 'No ' ],
195195 ['Properties ' , implode ("\n" , $ this ->getComponentProperties ($ metadata ))],
196196 ]);
197197
198- // $properties = $this->getComponentProperties($metadata);
199- // if (\count($properties)) {
200- // $table->addRow(['Propertires', implode("\n", $properties)]);
201- // }
202-
203198 $ logMethod = function (\ReflectionMethod $ m ) {
204199 $ params = array_map (
205200 fn (\ReflectionParameter $ p ) => '$ ' .$ p ->getName (),
@@ -208,7 +203,6 @@ private function displayComponentDetails(SymfonyStyle $io, string $name): void
208203
209204 return sprintf ('%s(%s) ' , $ m ->getName (), implode (', ' , $ params ));
210205 };
211-
212206 $ hooks = [];
213207 if ($ method = AsTwigComponent::mountMethod ($ metadata ->getClass ())) {
214208 $ hooks [] = ['Mount ' , $ logMethod ($ method )];
0 commit comments