App\Ninja\Repositories\BaseRepository::getEventClass PHP Метод

getEventClass() приватный Метод

private getEventClass ( $entity, $type ) : string
$entity
$type
Результат string
    private function getEventClass($entity, $type)
    {
        return 'App\\Events\\' . ucfirst($entity->getEntityType()) . 'Was' . $type;
    }