/** * @param ProfileFieldModel $resource * @param Guard $guard * @param UserProfileFieldRepositoryInterface $userProfileFields * @param ProfileFieldOptionRepositoryInterface $profileFieldOptionRepository */ public function __construct(ProfileFieldModel $resource, Guard $guard, UserProfileFieldRepositoryInterface $userProfileFields, ProfileFieldOptionRepositoryInterface $profileFieldOptionRepository) { parent::__construct($resource); $this->guard = $guard; $this->userProfileFields = $userProfileFields; $this->profileFieldOptionRepository = $profileFieldOptionRepository; }
/** * Create an abstract presenter instance. * * @param \Illuminate\Database\Eloquent\Model $resource * * @return void */ public function __construct($resource) { parent::__construct($resource); $this->setting = app('setting'); }
/** * @param object $resource * @param ViewFactory $viewFactory */ public function __construct($resource, ViewFactory $viewFactory) { parent::__construct($resource); $this->viewFactory = $viewFactory; }
/** * TagPresenter constructor. * * @param Tag $resource */ public function __construct(Tag $resource) { parent::__construct($resource); $this->wrappedObject = $resource; }
/** * Create a new instance. * * @param \GrahamCampbell\Credentials\Credentials $credentials * @param \SebastianBergmann\Diff\Differ $differ * @param \GrahamCampbell\Credentials\Models\Revision $resource * * @return void */ public function __construct(Credentials $credentials, Differ $differ, $resource) { $this->credentials = $credentials; $this->differ = $differ; parent::__construct($resource); }
/** * Create a new instance. * * @param \GrahamCampbell\Credentials\Credentials $credentials * @param \GrahamCampbell\Credentials\Models\Revision $resource * * @return void */ public function __construct(Credentials $credentials, $resource) { $this->credentials = $credentials; parent::__construct($resource); }
/** * Create a new instance. * * @param \McCool\LaravelAutoPresenter\PresenterDecorator $presenter * @param \App\Models\User $resource * * @return void */ public function __construct(PresenterDecorator $presenter, $resource) { $this->presenter = $presenter; parent::__construct($resource); }
/** * Create a new analysis presenter instance. * * @param \StyleCI\Storage\Stores\StoreInterface $storage * @param \StyleCI\StyleCI\Models\Analysis $resource * * @return void */ public function __construct(StoreInterface $storage, $resource) { $this->storage = $storage; parent::__construct($resource); }
/** * @return ModerationLog */ public function getWrappedObject() { return parent::getWrappedObject(); }