\Composer\UtilConfigValidator

Validates a composer configuration.

Summary

Methods
Properties
Constants
__construct()
validate()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$io
N/A

Properties

$io

$io : 

Type

Methods

validate()

validate(string  $file, integer  $arrayLoaderValidationFlags = \Composer\Package\Loader\ValidatingArrayLoader::CHECK_ALL) : array

Validates the config, and returns the result.

Parameters

string $file

The path to the file

integer $arrayLoaderValidationFlags

Flags for ArrayLoader validation

Returns

array —

a triple containing the errors, publishable errors, and warnings