PHP Class Owl\Http\ViewComposers\UserComposer

Exibir arquivo Open project: owl/owl

Protected Properties

Property Type Description
$user

Public Methods

Method Description
__construct ( UserService $user ) : void Create a UserComposer
compose ( Illuminate\Contracts\View\View $view ) : void Share the user information to View

Method Details

__construct() public method

Create a UserComposer
public __construct ( UserService $user ) : void
$user Owl\Services\UserService
return void

compose() public method

Share the user information to View
public compose ( Illuminate\Contracts\View\View $view ) : void
$view Illuminate\Contracts\View\View
return void

Property Details

$user protected_oe property

protected $user