Server : LiteSpeed
System : Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64
User : gazetufm ( 1431)
PHP Version : 8.1.35
Disable Function : NONE
Directory :  /home2/gazetufm/leonora.al/wp-content/plugins/kirki/libraries/framework/Console/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: Synopsis.php

Path: //home2/gazetufm/leonora.al/wp-content/plugins/kirki/libraries/framework/Console/Synopsis.php

Size: 1.16 KB

Permissions: 0644

<?php

/**
 * Value object describing WP-CLI command arguments, options, and positional parameters.
 * Parses synopsis arrays into normalized CLI signatures for CommandBase implementations.
 * Keeps command registration consistent across the console layer.
 *
 * @package    Framework
 * @subpackage Console
 * @since      1.0.0
 */
namespace Kirki\Framework\Console;

\defined('ABSPATH') || exit;
use Kirki\Framework\Supports\Fluent;
/**
 * Synopsis class to describe WP-CLI command arguments, options, and positional parameters.
 * 
 * @method $this name(string $name)
 * @method $this description(string $description)
 * @method $this optional()
 * @method $this repeating()
 * @method $this options(array $options)
 * @method $this type('positional'|'assoc'|'flag' $type)
 * @method $this default($value)
 */
class Synopsis extends Fluent
{
    /**
     * Handle dynamic method calls
     *
     * @param mixed $method The method name.
     * @param mixed $parameters The parameters array.
     *
     * @return static
     *
     * @since 1.0.0
     */
    public static function __callStatic($method, $parameters)
    {
        return (new static())->{$method}(...$parameters);
    }
}

← Back to Directory Edit File 🔒 Chmod

WP File Manager