silverstripe-framework/filesystem/storage/AssetNameGenerator.php
2015-09-24 12:57:28 +12:00

23 lines
519 B
PHP

<?php
namespace SilverStripe\Filesystem\Storage;
/**
* Provides a mechanism for suggesting filename alterations to a file
*
* Does not actually check for existence of the file, but rather comes up with as many suggestions for
* the given file as possible to a finite limit.
*
* @package framework
* @subpackage filesystem
*/
interface AssetNameGenerator extends \Iterator {
/**
* Construct a generator for the given filename
*
* @param string $filename
*/
public function __construct($filename);
}