function RecipeCommand::__construct

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Recipe/RecipeCommand.php \Drupal\Core\Recipe\RecipeCommand::__construct()

Constructs a new RecipeCommand command.

Parameters

object $class_loader: The class loader.

File

core/lib/Drupal/Core/Recipe/RecipeCommand.php, line 45

Class

RecipeCommand
Applies recipe.

Namespace

Drupal\Core\Recipe

Code

public function __construct($class_loader) {
    parent::__construct('recipe');
    $this->classLoader = $class_loader;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.