PHP Class Owl\Http\ViewComposers\MailNotifySettingComposer

Show file Open project: owl/owl

Protected Properties

Property Type Description
$mailNotifyService Owl\Services\MailNotifyService
$notifyEnable boolean
$userService Owl\Services\UserService

Public Methods

Method Description
__construct ( Illuminate\Contracts\Config\Repository $config, UserService $userService, MailNotifyService $mailNotifyService )
compose ( Illuminate\View\View $view )

Protected Methods

Method Description
renderCss ( ) : Illuminate\View\View | null メール通知コンポーネント用CSS読み込み用Viewを返す
renderHtml ( ) : Illuminate\View\View | null Configに合わせてメール通知HTMLコンポーネントを返す
renderJs ( ) : Illuminate\View\View | null メール通知コンポーネント用JS読み込み用Viewを返す

Method Details

__construct() public method

public __construct ( Illuminate\Contracts\Config\Repository $config, UserService $userService, MailNotifyService $mailNotifyService )
$config Illuminate\Contracts\Config\Repository
$userService Owl\Services\UserService
$mailNotifyService Owl\Services\MailNotifyService

compose() public method

public compose ( Illuminate\View\View $view )
$view Illuminate\View\View

renderCss() protected method

メール通知コンポーネント用CSS読み込み用Viewを返す
protected renderCss ( ) : Illuminate\View\View | null
return Illuminate\View\View | null | null

renderHtml() protected method

Configに合わせてメール通知HTMLコンポーネントを返す
protected renderHtml ( ) : Illuminate\View\View | null
return Illuminate\View\View | null | null

renderJs() protected method

メール通知コンポーネント用JS読み込み用Viewを返す
protected renderJs ( ) : Illuminate\View\View | null
return Illuminate\View\View | null | null

Property Details

$mailNotifyService protected property

protected MailNotifyService,Owl\Services $mailNotifyService
return Owl\Services\MailNotifyService

$notifyEnable protected property

protected bool $notifyEnable
return boolean

$userService protected property

protected UserService,Owl\Services $userService
return Owl\Services\UserService