public checkProvides ( string $type, string $name, string $version = null, string $comparison = 'ge' ) : array | ||
$type | string | The type of the provide |
$name | string | The name of the provide |
$version | string | A version to check against |
$comparison | string | The comparison operator to use in version_compare() |
return | array | An array in the form array( 'status' => bool Does the provide exist?, 'value' => string The version provided ) |