private function setupConditions(array $conditions) : void
    {
        foreach ($conditions as $condition) {
            $this->conditions[] = new Condition($condition['exec'], $condition['args'] ?? []);
        }
    }
private function setupConditions(array $conditions) : void
    {
        foreach ($conditions as $condition) {
            $this->conditions[] = new Condition($condition['exec'], $condition['args'] ?? []);
        }
    }
private function setupConditions ( array $ conditions ) : void { foreach ( $ conditions as $ condition ) { $ this -> conditions [ ] = new Condition ( $ condition [ 'exec' ] , $ condition [ 'args' ] ?? [ ] ) ; } }
Setup action conditions

@param array $conditions
Setup action conditions