PHP 클래스 Domain\Billet\GenerateBilletService

파일 보기 프로젝트 열기: resultsystems/school 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$student Domain\Student\StudentRepository

공개 메소드들

메소드 설명
__construct ( StudentRepository $student )
createBillet ( $student, $refer )
createBillets ( Illuminate\Database\Eloquent\Collection $students, string $refer ) : void Create billets.
generate ( Billet $billet )
pdf ( Billet $billet ) : base64_encode Generate pdf.
run ( $days )

메소드 상세

__construct() 공개 메소드

public __construct ( StudentRepository $student )
$student Domain\Student\StudentRepository

createBillet() 공개 메소드

public createBillet ( $student, $refer )

createBillets() 공개 메소드

Create billets.
public createBillets ( Illuminate\Database\Eloquent\Collection $students, string $refer ) : void
$students Illuminate\Database\Eloquent\Collection
$refer string YYYYMM
리턴 void

generate() 공개 메소드

public generate ( Billet $billet )
$billet Billet

pdf() 공개 메소드

Generate pdf.
public pdf ( Billet $billet ) : base64_encode
$billet Billet
리턴 base64_encode

run() 공개 메소드

public run ( $days )

프로퍼티 상세

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

protected StudentRepository,Domain\Student $student
리턴 Domain\Student\StudentRepository