public presentOptionalCommandsUsed ( ) : string | ||
Результат | string |
public function presentOptionalCommandsUsed()
{
return $this->getObject()->commands->filter(function (Command $command) {
return $command->optional;
})->implode('id', ',');
}