protected function resolveAssets(): ?string
    {
        $module = $this->getModuleInfo();
        if (!isset($module['assets'])) {
            return null;
        }
        $directory = $this->directory() . DIRECTORY_SEPARATOR . trim($module['assets'], DIRECTORY_SEPARATOR);
        return is_dir($directory) ? realpath($directory) : null;
    }
protected function resolveAssets(): ?string
    {
        $module = $this->getModuleInfo();
        if (!isset($module['assets'])) {
            return null;
        }
        $directory = $this->directory() . DIRECTORY_SEPARATOR . trim($module['assets'], DIRECTORY_SEPARATOR);
        return is_dir($directory) ? realpath($directory) : null;
    }
protected function resolveAssets ( ) : ? string { $ module = $ this -> getModuleInfo ( ) ; if ( ! isset ( $ module [ 'assets' ] ) ) { return null ; } $ directory = $ this -> directory ( ) . DIRECTORY_SEPARATOR . trim ( $ module [ 'assets' ] , DIRECTORY_SEPARATOR ) ; return is_dir ( $ directory ) ? realpath ( $ directory ) : null ; }
Resolve assets dir

@return string|null
Resolve assets dir