Php.classExists
Php.classExists($phpClassName) -> boolean
Description
return true if the given PHP class has been defined.
For convenience, you can use forward slashes in place of backslashes for namespace separators.
$className = 'vendorLibrary/SomeClass'
if Php.classExists($className) {
$obj = Php.new($className, 123)
$obj.doSomething()
}