public static function getStub(string $filename, array $tokens = [], string $defaultContent = ''): string
    {
        return self::getTemplate($filename, $tokens, $defaultContent, 'stub');
    }
public static function getStub(string $filename, array $tokens = [], string $defaultContent = ''): string
    {
        return self::getTemplate($filename, $tokens, $defaultContent, 'stub');
    }
public static function getStub ( string $ filename , array $ tokens = [ ] , string $ defaultContent = '' ) : string { return self :: getTemplate ( $ filename , $ tokens , $ defaultContent , 'stub' ) ; }
Get stub.

@param string $filename
@param string[] $tokens Default []. Format ['token' => 'value']. Replaces {token} with value.
@param mixed $defaultContent Default ''.
@return string
Get stub .