PHP Classes

File: GetUsed.config.php

Recommend this page to a friend!
  Classes of Engin Ypsilon   Get Used Class   GetUsed.config.php   Download  
File: GetUsed.config.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Get Used Class
Parse PHP script to extract the namespaces it uses
Author: By
Last change: Removed the Namespace dependency. GetUsed can now be used on every PHP script.
Date: 5 months ago
Size: 721 bytes
 

Contents

Class file image Download
<?php

return [

   
'info' => [
       
'lib' => 'Many\Dev\Used',
    ],

   
'config' => [
       
'args' => [
           
'file',
           
'return',
           
'comment_out',
        ],
       
'options' => [
           
'info' => '-i',
           
'help' => '-h',
           
'config' => '-c',
        ],
    ],

   
'help' => [
       
'args' => [
           
'file' => 'File to get the use keywords for',
           
'return' => 'Set return content type',
           
'comment_out' => 'Avoid commenting out already defined use keywords found in the Class',
        ],
       
'options' => [
           
'-i' => 'Get info',
           
'-h' => 'Get help',
           
'-c' => 'Get Config',
        ],
    ],

];