for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Omatech\Mage\Core\Events\Permissions;
use Omatech\Mage\Core\Domains\Permissions\Contracts\PermissionInterface;
class PermissionCreated
{
public $permission;
public $wasRecentlyCreated;
/**
* PermissionCreated constructor.
*/
public function __construct(PermissionInterface $permission, bool $wasRecentlyCreated)
$this->permission = $permission;
$this->wasRecentlyCreated = $wasRecentlyCreated;
}