mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-16 04:22:37 +00:00
24 lines
424 B
PHP
24 lines
424 B
PHP
<?php
|
|
|
|
namespace Wikia\PortableInfobox\Helpers;
|
|
|
|
class ImageFilenameSanitizer {
|
|
private static $instance = null;
|
|
|
|
private function __construct() {
|
|
}
|
|
|
|
/**
|
|
* @return null|ImageFilenameSanitizer
|
|
*/
|
|
public static function getInstance() {
|
|
if ( is_null( self::$instance ) ) {
|
|
self::$instance = new self;
|
|
}
|
|
return self::$instance;
|
|
}
|
|
|
|
public function sanitizeImageFileName( $filename ) {
|
|
return $filename;
|
|
}
|
|
} |