hasType() публичный статический Метод

Checks if exists support for a type.
public static hasType ( string $name ) : boolean
$name string Name of the type
Результат boolean TRUE if type is supported; FALSE otherwise
Пример #1
0
 public function testHasType()
 {
     $this->assertTrue(Type::hasType('mixed'));
 }