PHP code example of joomla-projects / typehints

1. Go to this page and download the library: Download joomla-projects/typehints library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

joomla-projects / typehints example snippets


/**
 * @deprecated 4.0
 */
class JRegistry extends \Joomla\Registry\Registry {}
bash
php typehints.php generate --for-version=3.7.4
bash
php typehints.php generate --for-version=staging
bash
php typehints.php generate --for-site=/var/www/joomla-cms
bash
php typehints.php generate --for-site=/var/www/joomla-cms /var/www/joomla-cms/typehints