<?php
namespace Elementor\Data\V2\Base;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Processor is just typically HOOK, who called before or after a command runs.
* It exist to simulate frontend ($e.data) like mechanism with commands and hooks, since each
* controller or endpoint is reachable via command (get_format).
* The `Elementor\Data\V2\Manager::run` is able to run them with the ability to reach the endpoint.
*/
abstract class Processor {
/**
* Controller.
*
* @var \Elementor\Data\V2\Base\Controller
*/
private $controller;
/**
* Get processor command.
*
* @return string
*/
abstract public function get_command();
/**
* Processor constructor.
*
* @param \Elementor\Data\V2\Base\Controller $controller
*/
public function __construct( $controller ) {
$this->controller = $controller;
}
}
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| endpoint/ | 2026-11-25 08:10 | 4.97 KB | 76129f60960:kunden | dxwrx-rx-r | |
| exceptions/ | 2026-11-25 08:10 | 2.17 KB | 76129f60960:kunden | dxwrx-rx-r | |
| processor/ | 2026-11-25 08:10 | 1.01 KB | 76129f60960:kunden | dxwrx-rx-r | |
| base-route.php | 2026-11-25 08:10 | 10.26 KB | 76129f60960:kunden | -xw-x--x-- | |
| controller.php | 2026-11-25 08:10 | 11.5 KB | 76129f60960:kunden | -xw-x--x-- | |
| endpoint.php | 2026-11-25 08:10 | 3.08 KB | 76129f60960:kunden | -xw-x--x-- | |
| processor.php | 2026-11-25 08:10 | 872 B | 76129f60960:kunden | -xw-x--x-- | |