src/ProjectTypeResolver.php
public function resolve(): string
    {
        $packageType = $this->composer->getPackage()->getType();
        return array_key_exists($packageType, $this->mapping)
            ? $this->mapping[$packageType]
            : 'default';
    }
public function resolve(): string
    {
        $packageType = $this->composer->getPackage()->getType();
        return array_key_exists($packageType, $this->mapping)
            ? $this->mapping[$packageType]
            : 'default';
    }
public function resolve ( ) : string { $ packageType = $ this -> composer -> getPackage ( ) -> getType ( ) ; return array_key_exists ( $ packageType , $ this -> mapping ) ? $ this -> mapping [ $ packageType ] : 'default' ; }
Get the type.

@return string
Get the type .