original_string: public function registerPlugin(array $plugin)
      {
          /* Dont't process nameless plugins */
          if(! isset($plugin['name'])) return;
  
          /* Create a container for the plugin */
          $this->getContainer()->addPlugin($plugin['name']);
  
          /* Commands are registered first so they can be found be porcedures */
          if(isset($plugin['commands'])) {
              $this->registerCommands($plugin['name'], $plugin['commands']);
          }
  
          if(isset($plugin['procedures'])) {
              /* The path info is appended by ComposerScripts */
              $this->registerProcedures($plugin['name'], $plugin['procedures'], $plugin['path']);
          }
  
          if(isset($plugin['settings'])) {
              $this->registerSettings($plugin['name'], $plugin[ 'settings' ]);
          }
      }
code: public function registerPlugin(array $plugin)
      {
          /* Dont't process nameless plugins */
          if(! isset($plugin['name'])) return;
  
          /* Create a container for the plugin */
          $this->getContainer()->addPlugin($plugin['name']);
  
          /* Commands are registered first so they can be found be porcedures */
          if(isset($plugin['commands'])) {
              $this->registerCommands($plugin['name'], $plugin['commands']);
          }
  
          if(isset($plugin['procedures'])) {
              /* The path info is appended by ComposerScripts */
              $this->registerProcedures($plugin['name'], $plugin['procedures'], $plugin['path']);
          }
  
          if(isset($plugin['settings'])) {
              $this->registerSettings($plugin['name'], $plugin[ 'settings' ]);
          }
      }
code_tokens: public function registerPlugin ( array $ plugin ) { /* Dont't process nameless plugins */ if ( ! isset ( $ plugin [ 'name' ] ) ) return ; /* Create a container for the plugin */ $ this -> getContainer ( ) -> addPlugin ( $ plugin [ 'name' ] ) ; /* Commands are registered first so they can be found be porcedures */ if ( isset ( $ plugin [ 'commands' ] ) ) { $ this -> registerCommands ( $ plugin [ 'name' ] , $ plugin [ 'commands' ] ) ; } if ( isset ( $ plugin [ 'procedures' ] ) ) { /* The path info is appended by ComposerScripts */ $ this -> registerProcedures ( $ plugin [ 'name' ] , $ plugin [ 'procedures' ] , $ plugin [ 'path' ] ) ; } if ( isset ( $ plugin [ 'settings' ] ) ) { $ this -> registerSettings ( $ plugin [ 'name' ] , $ plugin [ 'settings' ] ) ; } }
docstring: Register a plugin found in manifest file
  
  @param array $plugin
  @return null
docstring_tokens: Register a plugin found in manifest file