original_string: public function basePath($path = '')
      {
          return $this->getFilesystem()->dirname($this->path()) . ($path ? DIRECTORY_SEPARATOR . $path : $path);
      }
code: public function basePath($path = '')
      {
          return $this->getFilesystem()->dirname($this->path()) . ($path ? DIRECTORY_SEPARATOR . $path : $path);
      }
code_tokens: public function basePath ( $ path = '' ) { return $ this -> getFilesystem ( ) -> dirname ( $ this -> path ( ) ) . ( $ path ? DIRECTORY_SEPARATOR . $ path : $ path ) ; }
docstring: Get the base path of the plugin installation.
  
  @param  string $path
  @return string
docstring_tokens: Get the base path of the plugin installation .