PHP code example of ssitu / igor

1. Go to this page and download the library: Download ssitu/igor 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/ */

    

ssitu / igor example snippets


use SSITU\Igor\Igor;
$Igor->set_intrNamespace('Castle\\MonseigneurNamespace')
     ->doALLtheInterfaces('classes/src/path/', 'interfaces/dest/path');

$Igor->doALLtheInterfaces($srcdir, $intfdir);
$Igor->doOneInterface($srcfile, $dest);

$Igor->set_srcFilesGlobpattrn($pattern); // default: "*[!(_i)].php"
$Igor->set_intrFilesGlobpattrn($pattern); // default: none
$Igor->set_intrFilesSuffx($suffx); // default: "_i"
$Igor->set_intrFilesPrefx($prefx); // default: none

$Igor->set_licenseMention($mention);  // (1) default: none
$Igor->set_autoSearchLicense($bool); // (2) default: true

$Igor->set_intrNamespace($intrNamespace); // default: ''
$Igor->set_addImplementsToSrc($bool); // default: true
$Igor->set_rewrite($bool); // default: true
bash
php bin/igor