mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2024-11-24 00:29:35 +00:00
40 lines
748 B
PHP
40 lines
748 B
PHP
<?php
|
|
namespace Api\V8\Param;
|
|
|
|
use Api\V8\Param\Options as ParamOption;
|
|
use Symfony\Component\OptionsResolver\OptionsResolver;
|
|
|
|
#[\AllowDynamicProperties]
|
|
class DeleteModuleParams extends BaseParam
|
|
{
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getModuleName()
|
|
{
|
|
return $this->parameters['moduleName'];
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getId()
|
|
{
|
|
return $this->parameters['id'];
|
|
}
|
|
|
|
/**
|
|
* @inheritdoc
|
|
*/
|
|
protected function configureParameters(OptionsResolver $resolver)
|
|
{
|
|
$this->setOptions(
|
|
$resolver,
|
|
[
|
|
ParamOption\ModuleName::class,
|
|
ParamOption\Id::class,
|
|
]
|
|
);
|
|
}
|
|
}
|