PHP Class Domain\Teacher\TeacherService

Inheritance: extends Domain\Services\PersonAbstractService
Show file Open project: resultsystems/school Class Usage Examples

Protected Properties

Property Type Description
$repo TeacherRepository
$user Domain\User\UserRepository

Public Methods

Method Description
__construct ( TeacherRepository $repo, UserRepository $user ) Construct.

Method Details

__construct() public method

Construct.
public __construct ( TeacherRepository $repo, UserRepository $user )
$repo TeacherRepository
$user Domain\User\UserRepository

Property Details

$repo protected property

protected TeacherRepository,Domain\Teacher $repo
return TeacherRepository

$user protected property

protected UserRepository,Domain\User $user
return Domain\User\UserRepository