Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
the-events-calendar
/
src
/
Events
/
Admin
/
Notice
:
Provider.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * Service Provider for interfacing with TEC\Common\Admin\Notice. * * @since * * @package TEC\Events\Admin\Notice */ namespace TEC\Events\Admin\Notice; use TEC\Common\Contracts\Service_Provider; /** * Class Provider * * @since * * @package TEC\Events\Admin\Notice */ class Provider extends Service_Provider { /** * Register implementations. * * @since */ public function register() { $this->container->singleton( Rest_Api::class, Rest_Api::class ); $this->add_actions(); $this->add_filters(); } /** * Add the action hooks. * * @since */ public function add_actions() { $this->container->make( Rest_Api::class )->hook(); } /** * Add the filter hooks. * * @since */ public function add_filters() { } }