An addon cannot be enabled if it has missing or invalid requirements. If an addon has requirements that are
simply disabled it will pass this test as long as it's requirements also meet *their* requirements.
public checkRequirements ( |
||
$addon | The addon to check. | |
$throw | boolean | Whether or not to throw an exception if the requirements are not met. |
return | boolean | Returns **true** if the requirements are met or **false** otherwise. |