You are here

class BootPhase in X Autoload 7.4

Hierarchy

Expanded class hierarchy of BootPhase

File

tests/lib/FinderOperation/BootPhase.php, line 7

Namespace

Drupal\xautoload\Tests\FinderOperation
View source
class BootPhase implements FinderOperationInterface {

  /**
   * @var string[]
   */
  protected $extensions;

  /**
   * @param string[] $extensions
   */
  function __construct(array $extensions) {
    $this->extensions = $extensions;
  }

  /**
   * {@inheritdoc}
   */
  function operateOnFinder($finder, $helper) {
    $helper
      ->registerExtensions($this->extensions);
  }

}

Members