_plugin_constants = $dependencies[ 'ASS_Constants' ]; } /** * Ensure that there is only one instance of ASS_Admin_Status is loaded or can be loaded (Singleton Pattern). * * @since 1.0.0 * @access public * * @param array $dependencies Array of instances of dependencies for this class. * @return ASS_Admin_Status */ public static function instance( $dependencies ) { if ( !self::$_instance instanceof self ) self::$_instance = new self( $dependencies ); return self::$_instance; } /** * Render admin status, specifically for the overridden template files status. * * @since 1.0.0 * @access public */ public function render_ass_template_status() { $template_root_path = $this->_plugin_constants->TEMPLATES_ROOT_PATH(); include_once ( $this->_plugin_constants->VIEWS_ROOT_PATH() . 'admin-status/template-status/template-status.php' ); } } }