Add a blank line to cli to be more readable
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1216 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
4
cli.php
4
cli.php
@@ -82,8 +82,10 @@ $cli->run(); */
|
||||
$refclass = new ReflectionClass ($class);
|
||||
$methods = $refclass->getMethods();
|
||||
echo "List of methods available in the class '$class' :\n";
|
||||
foreach ($methods as $method)
|
||||
foreach ($methods as $key=>$method)
|
||||
{
|
||||
if ($key > 0)
|
||||
echo "\n";
|
||||
echo " ".$method->name;
|
||||
$r = new ReflectionMethod ($class, $method->name);
|
||||
$params = $r->getParameters();
|
||||
|
||||
Reference in New Issue
Block a user