diff --git a/src/Readers/AbstractReader.php b/src/Readers/AbstractReader.php new file mode 100644 index 0000000..857891f --- /dev/null +++ b/src/Readers/AbstractReader.php @@ -0,0 +1,48 @@ +> + */ + protected $map = [ + 'cores' => [ + 'benchmark' => '\CI_Benchmark', + 'config' => '\CI_Config', + 'input' => '\CI_Input', + 'lang' => '\CI_Lang', + 'loader' => '\CI_Loader', + 'output' => '\CI_Output', + 'security' => '\CI_Security', + 'uri' => '\CI_URI', + ], + 'libraries' => [ + 'cache' => '\CI_Cache', + 'calendar' => '\CI_Calendar', + 'driver' => '\CI_Driver', + 'email' => '\CI_Email', + 'encryption' => '\CI_Encryption', + 'form_validation' => '\CI_Form_validation', + 'ftp' => '\CI_Ftp', + 'image_lib' => '\CI_Image_lib', + 'migration' => '\CI_Migration', + 'pagination' => '\CI_Pagination', + 'parser' => '\CI_Parser', + 'profiler' => '\CI_Profiler', + 'session' => '\CI_Session', + 'table' => '\CI_Table', + 'trackback' => '\CI_Trackback', + 'typography' => '\CI_Typography', + 'unit_test' => '\CI_Unit_test', + 'upload' => '\CI_Upload', + 'user_agent' => '\CI_User_agent', + 'xmlrpc' => '\CI_Xmlrpc', + 'xmlrpcs' => '\CI_Xmlrpcs', + 'zip' => '\CI_Zip', + ], + ]; +} diff --git a/src/Readers/AutoloadReader.php b/src/Readers/AutoloadReader.php new file mode 100644 index 0000000..8133f69 --- /dev/null +++ b/src/Readers/AutoloadReader.php @@ -0,0 +1,48 @@ +> + */ + protected $autoload = [ + 'cores' => [ + 'benchmark', + 'config', + 'input', + 'lang', + 'loader', + 'output', + 'security', + 'uri', + ], + ]; + + /** + * Undocumented function + * + * @param string $dir + */ + public function __construct($dir) + { + $this->dir = $dir; + } +} diff --git a/src/Readers/ControllerReader.php b/src/Readers/ControllerReader.php new file mode 100644 index 0000000..23e6faf --- /dev/null +++ b/src/Readers/ControllerReader.php @@ -0,0 +1,30 @@ +dir = $dir; + } +} diff --git a/src/Readers/DataClass.php b/src/Readers/DataClass.php new file mode 100644 index 0000000..48f3b92 --- /dev/null +++ b/src/Readers/DataClass.php @@ -0,0 +1,20 @@ + + */ + public $properties; +} diff --git a/src/Readers/DataProperty.php b/src/Readers/DataProperty.php new file mode 100644 index 0000000..923ef9a --- /dev/null +++ b/src/Readers/DataProperty.php @@ -0,0 +1,20 @@ +dir = $dir; + } +}