PHP 클래스 Newscoop\Services\GarbageCollectionService

파일 보기 프로젝트 열기: sourcefabric/newscoop

보호된 프로퍼티들

프로퍼티 타입 설명
$em Doctrine\ORM\EntityManager

공개 메소드들

메소드 설명
__construct ( EntityManager $em )
run ( string $days ) : void Run users garbage collection

비공개 메소드들

메소드 설명
gcTokens ( ) : void Remove obsolete tokens
gcUsers ( string $days ) : void Remove obsolete users

메소드 상세

__construct() 공개 메소드

public __construct ( EntityManager $em )
$em Doctrine\ORM\EntityManager

run() 공개 메소드

Run users garbage collection
public run ( string $days ) : void
$days string
리턴 void

프로퍼티 상세

$em 보호되어 있는 프로퍼티

protected EntityManager,Doctrine\ORM $em
리턴 Doctrine\ORM\EntityManager