REBELinBLUE\Deployer\Presenters\DeploymentPresenter::presentOptionalCommandsUsed PHP Метод

presentOptionalCommandsUsed() публичный Метод

Gets the IDs of the optional commands which were included in the deployments, for use in a data attribute.
public presentOptionalCommandsUsed ( ) : string
Результат string
    public function presentOptionalCommandsUsed()
    {
        return $this->getObject()->commands->filter(function (Command $command) {
            return $command->optional;
        })->implode('id', ',');
    }