src/Wookieb/TypeCheck/SimpleTypeCheck.php
public static function registerTypeAlias($alias, $type)
    {
        Assert::notBlank($alias, 'Alias name cannot be blank');
        Assert::notBlank($type, 'Target type name cannot be blank');
        self::$aliases[strtolower($alias)] = $type;
    }
public static function registerTypeAlias($alias, $type)
    {
        Assert::notBlank($alias, 'Alias name cannot be blank');
        Assert::notBlank($type, 'Target type name cannot be blank');
        self::$aliases[strtolower($alias)] = $type;
    }
public static function registerTypeAlias ( $ alias , $ type ) { Assert :: notBlank ( $ alias , 'Alias name cannot be blank' ) ; Assert :: notBlank ( $ type , 'Target type name cannot be blank' ) ; self :: $ aliases [ strtolower ( $ alias ) ] = $ type ; }
Registers alias for a type

@param string $alias
@param string $type
@throws \InvalidArgumentException when alias or type is blank
Registers alias for a type