for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace W2w\Lib\Apie\Events;
/**
* Event mediator for the event for deleting a resource.
*/
class DeleteResourceEvent
{
* @var string
private $resourceClass;
private $id;
public function __construct(string $resourceClass, string $id)
$this->resourceClass = $resourceClass;
$this->id = $id;
}
* @return string
public function getResourceClass(): string
return $this->resourceClass;
public function getId(): string
return $this->id;