Exemplo n.º 1
0
 /**
  * @param Post $Post
  *
  * @return string
  */
 private static function _getPostLabel(Post $Post) : string
 {
     return !empty($Post->label) ? '<span class="label' . (strpos($Post->label, '"') !== false ? ' noquotes' : '') . '">' . $Post->processLabel() . '</span>' : '';
 }