Rename folders to match PHP PSR-4 autoloading conventions: - schemas → Schemas - shared → Shared - Wordpress → WordPress (in all locations) Fixes deployment issues on Linux servers where filesystem is case-sensitive. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
37 lines
779 B
PHP
37 lines
779 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace ROITheme\Shared\Application\UseCases\SyncSchema;
|
|
|
|
/**
|
|
* SyncSchemaRequest - DTO de entrada para sincronizar schemas
|
|
*
|
|
* RESPONSABILIDAD: Encapsular ruta del archivo JSON de schemas
|
|
*
|
|
* USO:
|
|
* ```php
|
|
* $request = new SyncSchemaRequest('/path/to/schemas.json');
|
|
* ```
|
|
*
|
|
* @package ROITheme\Shared\Application\UseCases\SyncSchema
|
|
*/
|
|
final readonly class SyncSchemaRequest
|
|
{
|
|
/**
|
|
* @param string $schemaFilePath Ruta al archivo JSON de schemas
|
|
*/
|
|
public function __construct(
|
|
private string $schemaFilePath
|
|
) {}
|
|
|
|
/**
|
|
* Obtener ruta del archivo de schemas
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getSchemaFilePath(): string
|
|
{
|
|
return $this->schemaFilePath;
|
|
}
|
|
}
|