yii\apidoc\templates\html\ApiRenderer::renderInterfaces PHP Method

renderInterfaces() public method

public renderInterfaces ( array $names ) : string
$names array
return string
    public function renderInterfaces($names)
    {
        $interfaces = [];
        sort($names, SORT_STRING);
        foreach ($names as $interface) {
            if (isset($this->apiContext->interfaces[$interface])) {
                $interfaces[] = $this->createTypeLink($this->apiContext->interfaces[$interface]);
            } else {
                $interfaces[] = $this->createTypeLink($interface);
            }
        }
        return implode(', ', $interfaces);
    }