src/WordPress/Plugin.php
public function storagePath($path = null)
  {
    return  WP_CONTENT_DIR . DIRECTORY_SEPARATOR . 'storage' . DIRECTORY_SEPARATOR . Str::slug($this->getNamespaceName()) . DIRECTORY_SEPARATOR . ( $path ? DIRECTORY_SEPARATOR . $path : $path );
  }
public function storagePath($path = null)
  {
    return  WP_CONTENT_DIR . DIRECTORY_SEPARATOR . 'storage' . DIRECTORY_SEPARATOR . Str::slug($this->getNamespaceName()) . DIRECTORY_SEPARATOR . ( $path ? DIRECTORY_SEPARATOR . $path : $path );
  }
public function storagePath ( $ path = null ) { return WP_CONTENT_DIR . DIRECTORY_SEPARATOR . 'storage' . DIRECTORY_SEPARATOR . Str :: slug ( $ this -> getNamespaceName ( ) ) . DIRECTORY_SEPARATOR . ( $ path ? DIRECTORY_SEPARATOR . $ path : $ path ) ; }
Get the storage path for the plugin

@param  string|null  $path
@return string
Get the storage path for the plugin