PHP Класс Newscoop\Services\AuditService

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$em Doctrine\ORM\EntityManager
$userService Newscoop\Services\UserService

Открытые методы

Метод Описание
__construct ( EntityManager $em, UserService $userService )
countBy ( array $criteria )
findAll ( ) : array Find all records
findBy ( array $criteria, array | null $orderBy = null, integer | null $limit = null, integer | null $offset = null ) : array Find records by set of criteria
getActionTypes ( )
getResourceTypes ( )
update ( GenericEvent $event ) : void Update audit

Описание методов

__construct() публичный метод

public __construct ( EntityManager $em, UserService $userService )
$em Doctrine\ORM\EntityManager
$userService UserService

countBy() публичный метод

public countBy ( array $criteria )
$criteria array

findAll() публичный метод

Find all records
public findAll ( ) : array
Результат array

findBy() публичный метод

Find records by set of criteria
public findBy ( array $criteria, array | null $orderBy = null, integer | null $limit = null, integer | null $offset = null ) : array
$criteria array
$orderBy array | null
$limit integer | null
$offset integer | null
Результат array

getActionTypes() публичный метод

public getActionTypes ( )

getResourceTypes() публичный метод

public getResourceTypes ( )

update() публичный метод

Update audit
public update ( GenericEvent $event ) : void
$event Newscoop\EventDispatcher\Events\GenericEvent
Результат void

Описание свойств

$em защищенное свойство

protected EntityManager,Doctrine\ORM $em
Результат Doctrine\ORM\EntityManager

$userService защищенное свойство

protected Newscoop\Services\UserService $userService
Результат Newscoop\Services\UserService