# code-snippets/3.10.0/vendor/typisttech/imposter/src/ImposterInterface.php

Code Snippets, version 3.10.0. 39 lines.

- Page: https://pluginprobe.com/plugins/code-snippets/3.10.0/code/vendor/typisttech/imposter/src/ImposterInterface.php
- Raw: https://pluginprobe.com/plugins/code-snippets/3.10.0/raw/vendor/typisttech/imposter/src/ImposterInterface.php
- Modified: 2025-10-16T19:08:06+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/code-snippets/3.10.0/code/vendor/typisttech/imposter/src/ImposterInterface.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace TypistTech\Imposter;

interface ImposterInterface
{
    /**
     * Get all valid (exist) autoload paths.
     *
     * @return string[]
     */
    public function getAutoloads(): array;

    /**
     * Get all invalid (not exist) autoload paths.
     *
     * @return string[]
     */
    public function getInvalidAutoloads(): array;

    /**
     * Transform all autoload files.
     *
     * @return void
     */
    public function run();

    /**
     * Transform a file or directory recursively.
     *
     * @param string $target Path to the target file or directory.
     *
     * @return void
     */
    public function transform(string $target);
}

```
