original_string: public function getDependencies($plugin)
      {
          if (is_string($plugin) && (!$plugin = $this->findByIdentifier($plugin))) {
              return false;
          }
  
          if (!isset($plugin->require) || !$plugin->require) {
              return null;
          }
  
          return is_array($plugin->require) ? $plugin->require : [$plugin->require];
      }
code: public function getDependencies($plugin)
      {
          if (is_string($plugin) && (!$plugin = $this->findByIdentifier($plugin))) {
              return false;
          }
  
          if (!isset($plugin->require) || !$plugin->require) {
              return null;
          }
  
          return is_array($plugin->require) ? $plugin->require : [$plugin->require];
      }
code_tokens: public function getDependencies ( $ plugin ) { if ( is_string ( $ plugin ) && ( ! $ plugin = $ this -> findByIdentifier ( $ plugin ) ) ) { return false ; } if ( ! isset ( $ plugin -> require ) || ! $ plugin -> require ) { return null ; } return is_array ( $ plugin -> require ) ? $ plugin -> require : [ $ plugin -> require ] ; }
docstring: Returns the plugin identifiers that are required by the supplied plugin.
  @param  string $plugin Plugin identifier, object or class
  @return array
docstring_tokens: Returns the plugin identifiers that are required by the supplied plugin .