<?php
namespace ElementsKit_Lite;
defined( 'ABSPATH' ) || exit;
/**
* ElementsKit_Lite autoloader.
* Handles dynamically loading classes only when needed.
*
* @since 1.0.0
*/
class Autoloader {
/**
* Run autoloader.
* Register a function as `__autoload()` implementation.
*
* @since 1.0.0
* @access public
*/
public static function run() {
spl_autoload_register( array( __CLASS__, 'autoload' ) );
}
/**
* Autoload.
* For a given class, check if it exist and load it.
*
* @since 1.0.0
* @access private
* @param string $class Class name.
*/
private static function autoload( $class_name ) {
// If the class being requested does not start with our prefix
// we know it's not one in our project.
if ( 0 !== strpos( $class_name, __NAMESPACE__ ) ) {
return;
}
$file_name = strtolower(
preg_replace(
array( '/\b' . __NAMESPACE__ . '\\\/', '/([a-z])([A-Z])/', '/_/', '/\\\/' ),
array( '', '$1-$2', '-', DIRECTORY_SEPARATOR ),
$class_name
)
);
// Compile our path from the corosponding location.
$file = \ElementsKit_Lite::plugin_dir() . $file_name . '.php';
// If a file is found.
if ( file_exists( $file ) ) {
// Then load it up!
require_once $file;
}
}
}
At [Your Company Name], we pride ourselves on delivering exceptional value, unparalleled service, and innovative solutions tailored to meet your needs.
At [Your Company Name], we are more than just a business—we are a team of passionate professionals dedicated to delivering excellence. With [X] years of experience in [your industry], we’ve built a reputation for [key strengths, e.g., innovation, reliability, customer-centric solutions].
Thinking insights, verified driven research, and metrics data help you make the right decisions!
Achievments
Moving You Forward By Moving with Care
At [Your Company Name], we take pride in our milestones and the impact we’ve made. Our journey is marked by dedication, innovation, and a relentless pursuit of excellence. Here’s a glimpse of what we’ve accomplished:
Every achievement reflects our commitment to excellence and the trust our clients and partners place in us. We’re not just celebrating the past—we’re building an even brighter future.
Don't Let Your Back Hurt, Let Us Move Your Things!
Our easy-to-use booking form ensures a seamless experience, allowing you to choose your preferred date, time, and options without any hassle.
Why book with us? ✓ Instant Confirmation – Receive immediate booking details via email/SMS. ✓ Flexible Scheduling – Pick a slot that fits your schedule. ✓ 100% Secure – Your information is safe with us.