StackFormation\Blueprint::__construct PHP Method

__construct() public method

public __construct ( $name, array $blueprintConfig, ValueResolver $valueResolver )
$blueprintConfig array
$valueResolver StackFormation\ValueResolver\ValueResolver
    public function __construct($name, array $blueprintConfig, \StackFormation\ValueResolver\ValueResolver $valueResolver)
    {
        if (!is_string($name)) {
            throw new \InvalidArgumentException('Name must be a string');
        }
        $this->name = $name;
        $this->blueprintConfig = $blueprintConfig;
        $this->valueResolver = $valueResolver;
    }