Classes/Utility/ExtensionUtility.php
public static function publicFolder(string $extensionKey, string $prefix = 'EXT:'): string {
    $resourcesFolder = self::resourcesFolder($extensionKey, $prefix);

    return "${resourcesFolder}/Public";
  }
public static function publicFolder(string $extensionKey, string $prefix = 'EXT:'): string {
    $resourcesFolder = self::resourcesFolder($extensionKey, $prefix);

    return "${resourcesFolder}/Public";
  }
public static function publicFolder ( string $ extensionKey , string $ prefix = 'EXT:' ) : string { $ resourcesFolder = self :: resourcesFolder ( $ extensionKey , $ prefix ) ; return "${resourcesFolder}/Public" ; }
Gets the public folder from an extension key.

@param string $extensionKey The extension key
@param string $prefix The optional prefix, defaults to `EXT:`
@return string The public folder
Gets the public folder from an extension key .