# wp-optimize/3.2.5/vendor/rosell-dk/htaccess-capability-tester/src/TestFilesLineUpperInterface.php

WP-Optimize – Cache, Compress images, Minify &amp; Clean database to boost page speed &amp; performance, version 3.2.5. 21 lines.

- Page: https://pluginprobe.com/plugins/wp-optimize/3.2.5/code/vendor/rosell-dk/htaccess-capability-tester/src/TestFilesLineUpperInterface.php
- Raw: https://pluginprobe.com/plugins/wp-optimize/3.2.5/raw/vendor/rosell-dk/htaccess-capability-tester/src/TestFilesLineUpperInterface.php
- Modified: 2021-11-30T14:57:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-optimize/3.2.5/code/vendor/rosell-dk/htaccess-capability-tester/src/TestFilesLineUpperInterface.php#L10-L20`.

```php
<?php

namespace HtaccessCapabilityTester;

interface TestFilesLineUpperInterface
{
    /**
     * Line-up test files.
     *
     * This method should make sure that the files passed in are there and are up-to-date.
     * - If a file is missing, it should be created.
     * - If a file has changed content, it should be updated
     * - If the directory contains a file/dir that should not be there, it should be removed
     *
     * @param  array  $files   The files that needs to be there
     *
     * @return  void
     */
    public function lineUp($files);
}

```
