@@ -28,30 +28,30 @@ |
||
| 28 | 28 | use Symfony\Component\Console\Output\OutputInterface; |
| 29 | 29 | |
| 30 | 30 | class Status extends Base { |
| 31 | - /** @var IManager */ |
|
| 32 | - protected $encryptionManager; |
|
| 31 | + /** @var IManager */ |
|
| 32 | + protected $encryptionManager; |
|
| 33 | 33 | |
| 34 | - /** |
|
| 35 | - * @param IManager $encryptionManager |
|
| 36 | - */ |
|
| 37 | - public function __construct(IManager $encryptionManager) { |
|
| 38 | - parent::__construct(); |
|
| 39 | - $this->encryptionManager = $encryptionManager; |
|
| 40 | - } |
|
| 34 | + /** |
|
| 35 | + * @param IManager $encryptionManager |
|
| 36 | + */ |
|
| 37 | + public function __construct(IManager $encryptionManager) { |
|
| 38 | + parent::__construct(); |
|
| 39 | + $this->encryptionManager = $encryptionManager; |
|
| 40 | + } |
|
| 41 | 41 | |
| 42 | - protected function configure() { |
|
| 43 | - parent::configure(); |
|
| 42 | + protected function configure() { |
|
| 43 | + parent::configure(); |
|
| 44 | 44 | |
| 45 | - $this |
|
| 46 | - ->setName('encryption:status') |
|
| 47 | - ->setDescription('Lists the current status of encryption') |
|
| 48 | - ; |
|
| 49 | - } |
|
| 45 | + $this |
|
| 46 | + ->setName('encryption:status') |
|
| 47 | + ->setDescription('Lists the current status of encryption') |
|
| 48 | + ; |
|
| 49 | + } |
|
| 50 | 50 | |
| 51 | - protected function execute(InputInterface $input, OutputInterface $output) { |
|
| 52 | - $this->writeArrayInOutputFormat($input, $output, [ |
|
| 53 | - 'enabled' => $this->encryptionManager->isEnabled(), |
|
| 54 | - 'defaultModule' => $this->encryptionManager->getDefaultEncryptionModuleId(), |
|
| 55 | - ]); |
|
| 56 | - } |
|
| 51 | + protected function execute(InputInterface $input, OutputInterface $output) { |
|
| 52 | + $this->writeArrayInOutputFormat($input, $output, [ |
|
| 53 | + 'enabled' => $this->encryptionManager->isEnabled(), |
|
| 54 | + 'defaultModule' => $this->encryptionManager->getDefaultEncryptionModuleId(), |
|
| 55 | + ]); |
|
| 56 | + } |
|
| 57 | 57 | } |
@@ -34,58 +34,58 @@ |
||
| 34 | 34 | use Symfony\Component\Console\Output\OutputInterface; |
| 35 | 35 | |
| 36 | 36 | class ListCommand extends Base { |
| 37 | - /** @var IGroupManager */ |
|
| 38 | - protected $groupManager; |
|
| 37 | + /** @var IGroupManager */ |
|
| 38 | + protected $groupManager; |
|
| 39 | 39 | |
| 40 | - /** |
|
| 41 | - * @param IGroupManager $groupManager |
|
| 42 | - */ |
|
| 43 | - public function __construct(IGroupManager $groupManager) { |
|
| 44 | - $this->groupManager = $groupManager; |
|
| 45 | - parent::__construct(); |
|
| 46 | - } |
|
| 40 | + /** |
|
| 41 | + * @param IGroupManager $groupManager |
|
| 42 | + */ |
|
| 43 | + public function __construct(IGroupManager $groupManager) { |
|
| 44 | + $this->groupManager = $groupManager; |
|
| 45 | + parent::__construct(); |
|
| 46 | + } |
|
| 47 | 47 | |
| 48 | - protected function configure() { |
|
| 49 | - $this |
|
| 50 | - ->setName('group:list') |
|
| 51 | - ->setDescription('list configured groups') |
|
| 52 | - ->addOption( |
|
| 53 | - 'limit', |
|
| 54 | - 'l', |
|
| 55 | - InputOption::VALUE_OPTIONAL, |
|
| 56 | - 'Number of groups to retrieve', |
|
| 57 | - 500 |
|
| 58 | - )->addOption( |
|
| 59 | - 'offset', |
|
| 60 | - 'o', |
|
| 61 | - InputOption::VALUE_OPTIONAL, |
|
| 62 | - 'Offset for retrieving groups', |
|
| 63 | - 0 |
|
| 64 | - )->addOption( |
|
| 65 | - 'output', |
|
| 66 | - null, |
|
| 67 | - InputOption::VALUE_OPTIONAL, |
|
| 68 | - 'Output format (plain, json or json_pretty, default is plain)', |
|
| 69 | - $this->defaultOutputFormat |
|
| 70 | - ); |
|
| 71 | - } |
|
| 48 | + protected function configure() { |
|
| 49 | + $this |
|
| 50 | + ->setName('group:list') |
|
| 51 | + ->setDescription('list configured groups') |
|
| 52 | + ->addOption( |
|
| 53 | + 'limit', |
|
| 54 | + 'l', |
|
| 55 | + InputOption::VALUE_OPTIONAL, |
|
| 56 | + 'Number of groups to retrieve', |
|
| 57 | + 500 |
|
| 58 | + )->addOption( |
|
| 59 | + 'offset', |
|
| 60 | + 'o', |
|
| 61 | + InputOption::VALUE_OPTIONAL, |
|
| 62 | + 'Offset for retrieving groups', |
|
| 63 | + 0 |
|
| 64 | + )->addOption( |
|
| 65 | + 'output', |
|
| 66 | + null, |
|
| 67 | + InputOption::VALUE_OPTIONAL, |
|
| 68 | + 'Output format (plain, json or json_pretty, default is plain)', |
|
| 69 | + $this->defaultOutputFormat |
|
| 70 | + ); |
|
| 71 | + } |
|
| 72 | 72 | |
| 73 | - protected function execute(InputInterface $input, OutputInterface $output) { |
|
| 74 | - $groups = $this->groupManager->search('', (int)$input->getOption('limit'), (int)$input->getOption('offset')); |
|
| 75 | - $this->writeArrayInOutputFormat($input, $output, $this->formatGroups($groups)); |
|
| 76 | - } |
|
| 73 | + protected function execute(InputInterface $input, OutputInterface $output) { |
|
| 74 | + $groups = $this->groupManager->search('', (int)$input->getOption('limit'), (int)$input->getOption('offset')); |
|
| 75 | + $this->writeArrayInOutputFormat($input, $output, $this->formatGroups($groups)); |
|
| 76 | + } |
|
| 77 | 77 | |
| 78 | - /** |
|
| 79 | - * @param IGroup[] $groups |
|
| 80 | - * @return array |
|
| 81 | - */ |
|
| 82 | - private function formatGroups(array $groups) { |
|
| 83 | - $keys = array_map(function (IGroup $group) { |
|
| 84 | - return $group->getGID(); |
|
| 85 | - }, $groups); |
|
| 86 | - $values = array_map(function (IGroup $group) { |
|
| 87 | - return array_keys($group->getUsers()); |
|
| 88 | - }, $groups); |
|
| 89 | - return array_combine($keys, $values); |
|
| 90 | - } |
|
| 78 | + /** |
|
| 79 | + * @param IGroup[] $groups |
|
| 80 | + * @return array |
|
| 81 | + */ |
|
| 82 | + private function formatGroups(array $groups) { |
|
| 83 | + $keys = array_map(function (IGroup $group) { |
|
| 84 | + return $group->getGID(); |
|
| 85 | + }, $groups); |
|
| 86 | + $values = array_map(function (IGroup $group) { |
|
| 87 | + return array_keys($group->getUsers()); |
|
| 88 | + }, $groups); |
|
| 89 | + return array_combine($keys, $values); |
|
| 90 | + } |
|
| 91 | 91 | } |
@@ -33,47 +33,47 @@ |
||
| 33 | 33 | use Symfony\Component\Console\Output\OutputInterface; |
| 34 | 34 | |
| 35 | 35 | class RemoveUser extends Base { |
| 36 | - /** @var IUserManager */ |
|
| 37 | - protected $userManager; |
|
| 38 | - /** @var IGroupManager */ |
|
| 39 | - protected $groupManager; |
|
| 36 | + /** @var IUserManager */ |
|
| 37 | + protected $userManager; |
|
| 38 | + /** @var IGroupManager */ |
|
| 39 | + protected $groupManager; |
|
| 40 | 40 | |
| 41 | - /** |
|
| 42 | - * @param IUserManager $userManager |
|
| 43 | - * @param IGroupManager $groupManager |
|
| 44 | - */ |
|
| 45 | - public function __construct(IUserManager $userManager, IGroupManager $groupManager) { |
|
| 46 | - $this->userManager = $userManager; |
|
| 47 | - $this->groupManager = $groupManager; |
|
| 48 | - parent::__construct(); |
|
| 49 | - } |
|
| 41 | + /** |
|
| 42 | + * @param IUserManager $userManager |
|
| 43 | + * @param IGroupManager $groupManager |
|
| 44 | + */ |
|
| 45 | + public function __construct(IUserManager $userManager, IGroupManager $groupManager) { |
|
| 46 | + $this->userManager = $userManager; |
|
| 47 | + $this->groupManager = $groupManager; |
|
| 48 | + parent::__construct(); |
|
| 49 | + } |
|
| 50 | 50 | |
| 51 | - protected function configure() { |
|
| 52 | - $this |
|
| 53 | - ->setName('group:removeuser') |
|
| 54 | - ->setDescription('remove a user from a group') |
|
| 55 | - ->addArgument( |
|
| 56 | - 'group', |
|
| 57 | - InputArgument::REQUIRED, |
|
| 58 | - 'group to remove the user from' |
|
| 59 | - )->addArgument( |
|
| 60 | - 'user', |
|
| 61 | - InputArgument::REQUIRED, |
|
| 62 | - 'user to remove from the group' |
|
| 63 | - ); |
|
| 64 | - } |
|
| 51 | + protected function configure() { |
|
| 52 | + $this |
|
| 53 | + ->setName('group:removeuser') |
|
| 54 | + ->setDescription('remove a user from a group') |
|
| 55 | + ->addArgument( |
|
| 56 | + 'group', |
|
| 57 | + InputArgument::REQUIRED, |
|
| 58 | + 'group to remove the user from' |
|
| 59 | + )->addArgument( |
|
| 60 | + 'user', |
|
| 61 | + InputArgument::REQUIRED, |
|
| 62 | + 'user to remove from the group' |
|
| 63 | + ); |
|
| 64 | + } |
|
| 65 | 65 | |
| 66 | - protected function execute(InputInterface $input, OutputInterface $output) { |
|
| 67 | - $group = $this->groupManager->get($input->getArgument('group')); |
|
| 68 | - if (is_null($group)) { |
|
| 69 | - $output->writeln('<error>group not found</error>'); |
|
| 70 | - return 1; |
|
| 71 | - } |
|
| 72 | - $user = $this->userManager->get($input->getArgument('user')); |
|
| 73 | - if (is_null($user)) { |
|
| 74 | - $output->writeln('<error>user not found</error>'); |
|
| 75 | - return 1; |
|
| 76 | - } |
|
| 77 | - $group->removeUser($user); |
|
| 78 | - } |
|
| 66 | + protected function execute(InputInterface $input, OutputInterface $output) { |
|
| 67 | + $group = $this->groupManager->get($input->getArgument('group')); |
|
| 68 | + if (is_null($group)) { |
|
| 69 | + $output->writeln('<error>group not found</error>'); |
|
| 70 | + return 1; |
|
| 71 | + } |
|
| 72 | + $user = $this->userManager->get($input->getArgument('user')); |
|
| 73 | + if (is_null($user)) { |
|
| 74 | + $output->writeln('<error>user not found</error>'); |
|
| 75 | + return 1; |
|
| 76 | + } |
|
| 77 | + $group->removeUser($user); |
|
| 78 | + } |
|
| 79 | 79 | } |
@@ -33,47 +33,47 @@ |
||
| 33 | 33 | use Symfony\Component\Console\Output\OutputInterface; |
| 34 | 34 | |
| 35 | 35 | class AddUser extends Base { |
| 36 | - /** @var IUserManager */ |
|
| 37 | - protected $userManager; |
|
| 38 | - /** @var IGroupManager */ |
|
| 39 | - protected $groupManager; |
|
| 36 | + /** @var IUserManager */ |
|
| 37 | + protected $userManager; |
|
| 38 | + /** @var IGroupManager */ |
|
| 39 | + protected $groupManager; |
|
| 40 | 40 | |
| 41 | - /** |
|
| 42 | - * @param IUserManager $userManager |
|
| 43 | - * @param IGroupManager $groupManager |
|
| 44 | - */ |
|
| 45 | - public function __construct(IUserManager $userManager, IGroupManager $groupManager) { |
|
| 46 | - $this->userManager = $userManager; |
|
| 47 | - $this->groupManager = $groupManager; |
|
| 48 | - parent::__construct(); |
|
| 49 | - } |
|
| 41 | + /** |
|
| 42 | + * @param IUserManager $userManager |
|
| 43 | + * @param IGroupManager $groupManager |
|
| 44 | + */ |
|
| 45 | + public function __construct(IUserManager $userManager, IGroupManager $groupManager) { |
|
| 46 | + $this->userManager = $userManager; |
|
| 47 | + $this->groupManager = $groupManager; |
|
| 48 | + parent::__construct(); |
|
| 49 | + } |
|
| 50 | 50 | |
| 51 | - protected function configure() { |
|
| 52 | - $this |
|
| 53 | - ->setName('group:adduser') |
|
| 54 | - ->setDescription('add a user to a group') |
|
| 55 | - ->addArgument( |
|
| 56 | - 'group', |
|
| 57 | - InputArgument::REQUIRED, |
|
| 58 | - 'group to add the user to' |
|
| 59 | - )->addArgument( |
|
| 60 | - 'user', |
|
| 61 | - InputArgument::REQUIRED, |
|
| 62 | - 'user to add to the group' |
|
| 63 | - ); |
|
| 64 | - } |
|
| 51 | + protected function configure() { |
|
| 52 | + $this |
|
| 53 | + ->setName('group:adduser') |
|
| 54 | + ->setDescription('add a user to a group') |
|
| 55 | + ->addArgument( |
|
| 56 | + 'group', |
|
| 57 | + InputArgument::REQUIRED, |
|
| 58 | + 'group to add the user to' |
|
| 59 | + )->addArgument( |
|
| 60 | + 'user', |
|
| 61 | + InputArgument::REQUIRED, |
|
| 62 | + 'user to add to the group' |
|
| 63 | + ); |
|
| 64 | + } |
|
| 65 | 65 | |
| 66 | - protected function execute(InputInterface $input, OutputInterface $output) { |
|
| 67 | - $group = $this->groupManager->get($input->getArgument('group')); |
|
| 68 | - if (is_null($group)) { |
|
| 69 | - $output->writeln('<error>group not found</error>'); |
|
| 70 | - return 1; |
|
| 71 | - } |
|
| 72 | - $user = $this->userManager->get($input->getArgument('user')); |
|
| 73 | - if (is_null($user)) { |
|
| 74 | - $output->writeln('<error>user not found</error>'); |
|
| 75 | - return 1; |
|
| 76 | - } |
|
| 77 | - $group->addUser($user); |
|
| 78 | - } |
|
| 66 | + protected function execute(InputInterface $input, OutputInterface $output) { |
|
| 67 | + $group = $this->groupManager->get($input->getArgument('group')); |
|
| 68 | + if (is_null($group)) { |
|
| 69 | + $output->writeln('<error>group not found</error>'); |
|
| 70 | + return 1; |
|
| 71 | + } |
|
| 72 | + $user = $this->userManager->get($input->getArgument('user')); |
|
| 73 | + if (is_null($user)) { |
|
| 74 | + $output->writeln('<error>user not found</error>'); |
|
| 75 | + return 1; |
|
| 76 | + } |
|
| 77 | + $group->addUser($user); |
|
| 78 | + } |
|
| 79 | 79 | } |
@@ -33,33 +33,33 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | interface IAction extends JsonSerializable { |
| 35 | 35 | |
| 36 | - /** |
|
| 37 | - * @param string $icon absolute URI to an icon |
|
| 38 | - * @since 12.0 |
|
| 39 | - */ |
|
| 40 | - public function setIcon($icon); |
|
| 36 | + /** |
|
| 37 | + * @param string $icon absolute URI to an icon |
|
| 38 | + * @since 12.0 |
|
| 39 | + */ |
|
| 40 | + public function setIcon($icon); |
|
| 41 | 41 | |
| 42 | - /** |
|
| 43 | - * @return string localized action name, e.g. 'Call' |
|
| 44 | - * @since 12.0 |
|
| 45 | - */ |
|
| 46 | - public function getName(); |
|
| 42 | + /** |
|
| 43 | + * @return string localized action name, e.g. 'Call' |
|
| 44 | + * @since 12.0 |
|
| 45 | + */ |
|
| 46 | + public function getName(); |
|
| 47 | 47 | |
| 48 | - /** |
|
| 49 | - * @param string $name localized action name, e.g. 'Call' |
|
| 50 | - * @since 12.0 |
|
| 51 | - */ |
|
| 52 | - public function setName($name); |
|
| 48 | + /** |
|
| 49 | + * @param string $name localized action name, e.g. 'Call' |
|
| 50 | + * @since 12.0 |
|
| 51 | + */ |
|
| 52 | + public function setName($name); |
|
| 53 | 53 | |
| 54 | - /** |
|
| 55 | - * @param int $priority priorize actions, high order ones are shown on top |
|
| 56 | - * @since 12.0 |
|
| 57 | - */ |
|
| 58 | - public function setPriority($priority); |
|
| 54 | + /** |
|
| 55 | + * @param int $priority priorize actions, high order ones are shown on top |
|
| 56 | + * @since 12.0 |
|
| 57 | + */ |
|
| 58 | + public function setPriority($priority); |
|
| 59 | 59 | |
| 60 | - /** |
|
| 61 | - * @return int priority to priorize actions, high order ones are shown on top |
|
| 62 | - * @since 12.0 |
|
| 63 | - */ |
|
| 64 | - public function getPriority(); |
|
| 60 | + /** |
|
| 61 | + * @return int priority to priorize actions, high order ones are shown on top |
|
| 62 | + * @since 12.0 |
|
| 63 | + */ |
|
| 64 | + public function getPriority(); |
|
| 65 | 65 | } |
@@ -28,27 +28,27 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | interface IActionFactory { |
| 30 | 30 | |
| 31 | - /** |
|
| 32 | - * Construct and return a new link action for the contacts menu |
|
| 33 | - * |
|
| 34 | - * @since 12.0 |
|
| 35 | - * |
|
| 36 | - * @param string $icon full path to the action's icon |
|
| 37 | - * @param string $name localized name of the action |
|
| 38 | - * @param string $href target URL |
|
| 39 | - * @return ILinkAction |
|
| 40 | - */ |
|
| 41 | - public function newLinkAction($icon, $name, $href); |
|
| 31 | + /** |
|
| 32 | + * Construct and return a new link action for the contacts menu |
|
| 33 | + * |
|
| 34 | + * @since 12.0 |
|
| 35 | + * |
|
| 36 | + * @param string $icon full path to the action's icon |
|
| 37 | + * @param string $name localized name of the action |
|
| 38 | + * @param string $href target URL |
|
| 39 | + * @return ILinkAction |
|
| 40 | + */ |
|
| 41 | + public function newLinkAction($icon, $name, $href); |
|
| 42 | 42 | |
| 43 | - /** |
|
| 44 | - * Construct and return a new email action for the contacts menu |
|
| 45 | - * |
|
| 46 | - * @since 12.0 |
|
| 47 | - * |
|
| 48 | - * @param string $icon full path to the action's icon |
|
| 49 | - * @param string $name localized name of the action |
|
| 50 | - * @param string $email target e-mail address |
|
| 51 | - * @return ILinkAction |
|
| 52 | - */ |
|
| 53 | - public function newEMailAction($icon, $name, $email); |
|
| 43 | + /** |
|
| 44 | + * Construct and return a new email action for the contacts menu |
|
| 45 | + * |
|
| 46 | + * @since 12.0 |
|
| 47 | + * |
|
| 48 | + * @param string $icon full path to the action's icon |
|
| 49 | + * @param string $name localized name of the action |
|
| 50 | + * @param string $email target e-mail address |
|
| 51 | + * @return ILinkAction |
|
| 52 | + */ |
|
| 53 | + public function newEMailAction($icon, $name, $email); |
|
| 54 | 54 | } |
@@ -29,15 +29,15 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | interface ILinkAction extends IAction { |
| 31 | 31 | |
| 32 | - /** |
|
| 33 | - * @since 12.0 |
|
| 34 | - * @param string $href the target URL of the action |
|
| 35 | - */ |
|
| 36 | - public function setHref($href); |
|
| 32 | + /** |
|
| 33 | + * @since 12.0 |
|
| 34 | + * @param string $href the target URL of the action |
|
| 35 | + */ |
|
| 36 | + public function setHref($href); |
|
| 37 | 37 | |
| 38 | - /** |
|
| 39 | - * @since 12.0 |
|
| 40 | - * @return string |
|
| 41 | - */ |
|
| 42 | - public function getHref(); |
|
| 38 | + /** |
|
| 39 | + * @since 12.0 |
|
| 40 | + * @return string |
|
| 41 | + */ |
|
| 42 | + public function getHref(); |
|
| 43 | 43 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | use OC\DB\QueryBuilder\QueryFunction; |
| 25 | 25 | |
| 26 | 26 | class OCIFunctionBuilder extends FunctionBuilder { |
| 27 | - public function md5($input) { |
|
| 28 | - return new QueryFunction('LOWER(DBMS_OBFUSCATION_TOOLKIT.md5 (input => UTL_RAW.cast_to_raw(' . $this->helper->quoteColumnName($input) .')))'); |
|
| 29 | - } |
|
| 27 | + public function md5($input) { |
|
| 28 | + return new QueryFunction('LOWER(DBMS_OBFUSCATION_TOOLKIT.md5 (input => UTL_RAW.cast_to_raw(' . $this->helper->quoteColumnName($input) .')))'); |
|
| 29 | + } |
|
| 30 | 30 | } |
@@ -24,44 +24,44 @@ |
||
| 24 | 24 | use OCP\Files\Search\ISearchComparison; |
| 25 | 25 | |
| 26 | 26 | class SearchComparison implements ISearchComparison { |
| 27 | - /** @var string */ |
|
| 28 | - private $type; |
|
| 29 | - /** @var string */ |
|
| 30 | - private $field; |
|
| 31 | - /** @var string|integer|\DateTime */ |
|
| 32 | - private $value; |
|
| 27 | + /** @var string */ |
|
| 28 | + private $type; |
|
| 29 | + /** @var string */ |
|
| 30 | + private $field; |
|
| 31 | + /** @var string|integer|\DateTime */ |
|
| 32 | + private $value; |
|
| 33 | 33 | |
| 34 | - /** |
|
| 35 | - * SearchComparison constructor. |
|
| 36 | - * |
|
| 37 | - * @param string $type |
|
| 38 | - * @param string $field |
|
| 39 | - * @param \DateTime|int|string $value |
|
| 40 | - */ |
|
| 41 | - public function __construct($type, $field, $value) { |
|
| 42 | - $this->type = $type; |
|
| 43 | - $this->field = $field; |
|
| 44 | - $this->value = $value; |
|
| 45 | - } |
|
| 34 | + /** |
|
| 35 | + * SearchComparison constructor. |
|
| 36 | + * |
|
| 37 | + * @param string $type |
|
| 38 | + * @param string $field |
|
| 39 | + * @param \DateTime|int|string $value |
|
| 40 | + */ |
|
| 41 | + public function __construct($type, $field, $value) { |
|
| 42 | + $this->type = $type; |
|
| 43 | + $this->field = $field; |
|
| 44 | + $this->value = $value; |
|
| 45 | + } |
|
| 46 | 46 | |
| 47 | - /** |
|
| 48 | - * @return string |
|
| 49 | - */ |
|
| 50 | - public function getType() { |
|
| 51 | - return $this->type; |
|
| 52 | - } |
|
| 47 | + /** |
|
| 48 | + * @return string |
|
| 49 | + */ |
|
| 50 | + public function getType() { |
|
| 51 | + return $this->type; |
|
| 52 | + } |
|
| 53 | 53 | |
| 54 | - /** |
|
| 55 | - * @return string |
|
| 56 | - */ |
|
| 57 | - public function getField() { |
|
| 58 | - return $this->field; |
|
| 59 | - } |
|
| 54 | + /** |
|
| 55 | + * @return string |
|
| 56 | + */ |
|
| 57 | + public function getField() { |
|
| 58 | + return $this->field; |
|
| 59 | + } |
|
| 60 | 60 | |
| 61 | - /** |
|
| 62 | - * @return \DateTime|int|string |
|
| 63 | - */ |
|
| 64 | - public function getValue() { |
|
| 65 | - return $this->value; |
|
| 66 | - } |
|
| 61 | + /** |
|
| 62 | + * @return \DateTime|int|string |
|
| 63 | + */ |
|
| 64 | + public function getValue() { |
|
| 65 | + return $this->value; |
|
| 66 | + } |
|
| 67 | 67 | } |