App\Ninja\Repositories\BaseRepository::getEventClass PHP Method

getEventClass() private method

private getEventClass ( $entity, $type ) : string
$entity
$type
return string
    private function getEventClass($entity, $type)
    {
        return 'App\\Events\\' . ucfirst($entity->getEntityType()) . 'Was' . $type;
    }