[uml] AbstractBlockView

Webel module:


UML element type:

OOE stereotypes:

implements [InterfaceRealization]: 
Relationships (inverse)
UML Diagram
Click on the UML diagram to view it in a lightbox image viewer. You may then zoom in (or just open the image in a new web browser tab using the Download Original link to view large diagrams).

UML modelling domain:

Note the unusual DataType 'string|array' provided "manually" on the return type of #getContent() in the wrapper analysis Component @AbstractBlockView.

PEAR PHP UML could not handle the Drupal documentation style:
 * @return string|array
 *   An HTML string or a render array.
final protected function getContent() {
    $html = $this->myContentHTML();
    if (!empty($html)) return $html;
    return $this->myContentRenderArray();

On the reverse-engineered PHP class AbstractBlockView the method #getContent() has no return type at all, not even void !

Notes (policies)