예제 #1
0
<?php

/**
 * Fixin Framework
 *
 * Class, interface, and trait lister
 *
 * @copyright  Copyright (c) 2016 Attila Jenei
 */
use Fixin\Support\VariableInspector;
?>
<td class="Parameter Type">
    <?php 
echo ($class = $parameter->getClass()) ? $helper->reflectionLink($class) : $parameter->getType() ?? $docParameters[$parameter->getName()] ?? '';
?>
</td>
<td class="Parameter Name">
    <?php 
echo ($parameter->isVariadic() ? '...' : '') . ($parameter->isPassedByReference() ? '&' : '') . htmlspecialchars('$' . $parameter->getName());
?>
</td>
<td class="Parameter Value"><?php 
echo $parameter->isOptional() && $parameter->isDefaultValueAvailable() ? VariableInspector::valueInfo($parameter->getDefaultValue()) : '';
?>
</td>
예제 #2
0
파일: Query.php 프로젝트: fixin/fixin
 public function __toString() : string
 {
     return Ground::debugText($this->text) . Ground::debugText(VariableInspector::arrayInfo($this->parameters));
 }
예제 #3
0
파일: classes.php 프로젝트: fixin/fixin
                    echo $visibility;
                    ?>
                                            <?php 
                    echo $property->isStatic() ? 'static' : '';
                    ?>
                                        </td>
                                        <td><?php 
                    echo $helper->commentVar($property);
                    ?>
</td>
                                        <td class="Name" colspan="4">$<?php 
                    echo htmlspecialchars($property->getName());
                    ?>
</td>
                                        <td class="Value"><?php 
                    echo VariableInspector::valueInfo($defaultValues[$property->getName()] ?? null);
                    ?>
</td>
                                        <td class="Comment"><?php 
                    echo $helper->commentText($property);
                    ?>
</td>
                                    </tr>
                                <?php 
                }
                ?>
                            <?php 
            }
            ?>
                            <tr class="Separator">
                                <td class="Tab"></td>