# wp-optimize/3.2.5/vendor/robloach/component-installer/src/ComponentInstaller/Process/ProcessInterface.php

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

- Page: https://pluginprobe.com/plugins/wp-optimize/3.2.5/code/vendor/robloach/component-installer/src/ComponentInstaller/Process/ProcessInterface.php
- Raw: https://pluginprobe.com/plugins/wp-optimize/3.2.5/raw/vendor/robloach/component-installer/src/ComponentInstaller/Process/ProcessInterface.php
- Modified: 2021-06-07T22:42:16+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/robloach/component-installer/src/ComponentInstaller/Process/ProcessInterface.php#L10-L20`.

```php
<?php

/*
 * This file is part of Component Installer.
 *
 * (c) Rob Loach (http://robloach.net)
 *
 * For the full copyright and license information, please view the LICENSE.md
 * file that was distributed with this source code.
 */

namespace ComponentInstaller\Process;

use Composer\IO\IOInterface;
use Composer\Composer;

interface ProcessInterface
{
    /**
     * Create a new Process.
     *
     * @param Composer $composer
     *   The Composer object to act on.
     * @param IOInterface $io
     *   Input/Output object to act on.
     */
    public function __construct(Composer $composer, IOInterface $io);

    /**
     * Initialize the process before its run.
     *
     * @return boolean
     *   Whether or not the process should continue after initialization.
     */
    public function init();

    /**
     * Called when running through the process.
     *
     * @return boolean
     *   True or false depending on whether the process was successful.
     */
    public function process();
}

```
