This error pops up when I run php -dmemory_limit=-1 bin/magento s:d:c
File; parseResource.php
<?php
class parseResource
{
public $resourcePath = "";
public $key = "";
public $error = "";
public $alias = "";
function getResourcePath()
{
return $this->resourcePath;
}
}
I have also attempted to add a name space in the file
namespace VendorModulenameModelPlugin;
But this error pops up then
PHP Fatal error: Cannot declare class VendorModulenameModelPluginparseResource, because the name is already in use in app/code/Vendor/Modulename/Model/Plugin/parseResource.php on line 5